Cows produce (literally: fart) a lot of methane, which is an incredibly potent driver of global warming. A lot of energy also goes into the whole chain of production, from fertilizer used on feedstocks to transportation and so on.
Even compared just to other meats, beef is terrible for the climate. IIRC, pork does less than 1/3 the damage, and chicken gets close to vegetables on this measure