Here's why:
* Radioactive decay: The Earth's interior contains radioactive elements like uranium, thorium, and potassium. These elements decay over time, releasing heat energy. This process has been ongoing since the Earth's formation and will continue for billions of years.
* Gravitational energy: The initial formation of the Earth involved the gravitational collapse of dust and gas, releasing significant heat. However, this source of heat has largely dissipated over time.
* Tidal forces: The gravitational pull of the Moon and Sun causes tides on Earth, which creates a small amount of friction and generates heat. This effect is negligible compared to radioactive decay.
* Impact energy: The Earth was bombarded by meteorites and asteroids early in its history, which generated heat. However, this was a short-lived event.
In summary: Radioactive decay is the most enduring and significant source of heat within the Earth, driving plate tectonics, volcanic activity, and other geological processes.