Animals used for transportation and labor are often shackled and beaten the duration of their short lives, worked until they’re too injured to continue, then slaughtered. Those raised solely for meat might have it comparatively easy.
For meat on the other hand, you can lock your cow or pig or chicken in a cage exactly the size of its body with no stimulation except the food being shoved down it's throat, it'll get fat and you can sell if for meat. There is no downside to mistreatment.