The Earth thus started off with vast supplies of heat inside it, and a rocky planet, like any other rock, takes a long time to cool down. Stones in a campfire may still be hot the morning after; a stone the size of the Earth can hold heat for billions of years.