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