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