Earth’s magnetic field is powered by a moving metal ocean
Earth’s solid surface sits above a liquid outer core of electrically conducting iron. Heat and chemical buoyancy keep that metal moving; the motion generates electric currents that continually regenerate the planet’s magnetic field.