Energy within the earth is also a remnant of the heat produced when the pull of gravity crushed a cloud of dust and gas into the nascent planet. Additionally, heat is also generated as the earth spins, because the motion stresses layers of deep rock that need a constant force to keep up with the rotational velocity.

