In most cases, this is actually done to create feed crops like soy and corn. Most of the agricultural fields in the world are used to feed animals either used for slaughter or for dairy and not to feed people directly.
Feeding the same amount of people directly instead of feeding animals and then eating them could be done with a fraction of the agricultural resources.
Dairy production is actually one of the most environmentally impactful things that we do, if we want to go that route.