Respuesta :

From the molten iron and metals in the earth's core. The spinning of the liquid metals produces the same effect as an electric current in a coil, which produces a magnetic field.

I hope that this helps :)