It is done so that the soil of farms is not used for only one set of nutrients. It helps in reducing soil erosion and increases soil fertility and crop yield.
i hope this helps you
from google:
"The Earth gets hotter as one travels towards the core, known as the geothermal gradient. Geothermal gradient is the amount the Earth's temperature increases with depth, indicating heat flowing from the Earth's warm interior to its surface. On average, the temperature increases by about 25°C for every kilometer of depth"