The molten iron has currents of its own, just like an ocean, and these moving currents create the magnetic field. But the currents are not consistent and the Earth's magnetic field moves around, with the magneticnorth pole currently drifting by about 10 miles a year.