Using an example of something that exists in nature like aphids/ants to justify human behavior is a fundamentally flawed argument because quite simply: ants aren't humans, we're quite a bit more sophisticated and have far more reach/impact which comes with greater responsibility and consequences.
Putting that aside for the moment because it is a rabbit hole, there is a continuum of what people think constitutes animal abuse.
One the worst side of the spectrum (IMHO), are CAFOs: Concentrated Animal Feeding Operations. These are the first things you read about when you research animal cruelty. They're the videos of hundreds of thousands of cows standing kneed deep in their shit their whole lives and pumped full of antibiotics. And yet, some people look at this and go, "Yeah, I'm cool with that."
On the other side of the spectrum, we have vegans who do not use any products derived from animals.
In between we see efforts to mitigate the cruelty, such as: free range vs. constricted cages where movement is impossible; feeding them diets of foods they would find in nature (instead of feeding cows ground up chickens); not forcing them to grow so much meat they cannot move (chicken breasts; growth hormones in cows); not forcing them to produce so much milk their udders tear and become infected so they are injected with antibiotics, etc.
For example, there is a cattle farm 10 miles from my house that has about 20 head of cattle, and you can purchase one as part of a co-op a year in advance. You can go visit the cow. You can see how it is raised and its conditions. This makes me feel a lot better than buying plastic-wrapped package from a Save-Rite supermarket. But that's me: some people might laugh at me for being "fancy pants liberal simp" other's think I'm still keeping animals from doing what they would do in nature if we weren't harvesting them.
My point is: this is not an easy answer, and in my opinion how we treat animals that we capture and cage matters. Why? Since reason is a social construct, I can go deeper if you push, but it is my choice to not make animals suffer more than they have to.