Answer:
The interaction between the inner and outer core is the reason that earth has a magnetic field.
The Earth has a solid inner core and a liquid outer core, both made of iron and nickel. The metal carries an electrical current that is powered by the movement of the liquid. The electrical current creates a magnetic field that reaches out from the core to the surface of the Earth.
Step-by-step explanation:
Hope it helps! =D