Pain might be an inevitable facet of food production (crop deaths). But that doesn’t mean we shouldn’t try to eliminate as much pain as we reasonably can.
Pain is an inevitable facet of surgery
Surgery is a moral good
an inevitable facet of surgery cannot make surgey bad
surgery remains a moral good
The fact that pain is inevitable to surgery doesn’t mean we should stop giving patients anesthesia and pain medication.
there is an obvious case for easing the pain of humans, but not so much for our food.
So it just loops back to speciesism then? You don’t care about the pain animals face, only humans?
as kant said, cruelty is bad. you ought not kick a dog, for instance, but there is no contradiction in animal agriculture itself. if some operations are acting cruelly, we should admonish them. otherwise, tehre is no reason to believe non-human animals can participate in an ethical society, so there is no reason to include them in our ethical systems.