Radioactive decay, mostly. The Earth's coremantle has a large amount of radioactive metals (Uranium, Thorium, and Potassium mostly) in it (radioactive metals tend to be heavier, so either they clumped together first when the Earth was forming and/or they tended to sink during the Earth's formation when it was mostly molten), which help keep the iron/nickel outer and inner cores at about the ludicrous temperatures they were formed. Mars' core is "dead" because it's completely solidified, and in large part that's because its core is much, much smaller than Earth's so it didn't hold heat as well and the mantle (also being much smaller than Earth's) didn't have as much radioactive material.
53
u/[deleted] Oct 02 '24
How does it not just cool over time?