The particular breeds they use have been bred to be a food source. They're notably docile. We have breeds, that are popular, that were only bred for fighting not as actual pets. At one time pigs were wild, let a pig escape and when it becomes feral, it makes most dogs breeds seem like goldfish.
What I'm getting at, once again for me, is by not being a vegan getting too bent out of shape over the OP would seem slanted, biased and self serving. It really does that to me. It's understandable and relatable coming from others.
We domesticated all these animals for specific purposes, food is just one of the many purposes people have chosen for various animals. I hear that pigs can and do make great pets.
I have a policy. Don't give your food personal names, don't cuddle with your food and definitely don't play with your food. (Geez, I come off like that Terminus guy on the Walking Dead)