And because arranging different pricing for all the foodstuffs that look less than perfect costs more than profit on these items, into the bin goes perfectly good food.
[1] For an example of how this type of quality separation happens, check out https://www.ams.usda.gov/grades-standards/apple-grades-stand...
I'm not convinced. Let's say a farmer wanted to reduce foodwaste. So they only sold perfect fruit that they knew would get bought. That would drive up the prices of those perfect fruit AND there would be less fruit for sale in total.
Therefore, some amount of food waste should be acceptable to ensure the best outcome for everyone.
Selling only perfect fruit is literally foodwaste right there. Fruits don't grow all perfect. If most of the fruit you see in store looks flawless, that literally means that most of the fruit harvested was either sold to another company or thrown away.
Not to put too fine a point on it, but you haven't exactly explained why "food waste" is a bad thing. I've given a reason why it could be considered a good thing: it can reduce the cost and increase total food that is purchased.
For an absurd example, see the "Eat your vegetables, because there are children starving in China" argument. Just because it would be nice if every hungry person had food, doesn't mean that letting any food go to waste is necessarily immoral by itself.
If I'm making pie or apple sauce, I'll seek out bruised apples—and pay less for them. Paying normal prices for bruised apples? No thanks.