Would you like it if companies were required to print on their packages in a prominent location "We've changed the size of our product" or "we've changed the recipe" with regards to shrinkflation?
Legal requirement that is to let the consumers know they messed with the product.