the earth’s magnetic field is the product of
Earth's magnetic field
electric currents due to the motion of convection currents of molten iron in the Earth's outer core driven by heat escaping from the core