The gravitation compressin of the earth pressures the masses together, and pressure causes heat.
Hope this helps
7.8m questions
10.5m answers