Grazing animals tend to destroy trees and prevent new ones from growing. Trees also can't move to encourage grazing in different areas / provide shade wherever the grazeable areas are today.
That's my setup in Farming Simulator. In the game animals don't suffer from heat but it feels better to provide shade. Too bad the solar panels can't go inside the fences.