Here's why:
* The outer core is liquid: Composed primarily of iron and nickel, it's in a molten state.
* Convection currents: The heat from the Earth's inner core drives convection currents within the outer core, causing the liquid metal to move.
* Electric currents: This movement of electrically conductive material generates electric currents.
* Magnetic field: These electric currents create a magnetic field that extends far beyond Earth, forming the magnetosphere.
Let me know if you have any other questions!