Here's why:
* The outer core is liquid: It's primarily composed of iron and nickel, and its liquid state allows for the movement of these metals.
* Convection currents: The heat from the Earth's inner core creates convection currents within the outer core. These currents are like giant rivers of molten metal, flowing in swirling patterns.
* Dynamo effect: The movement of electrically conductive material (the molten metals) within the outer core, coupled with the Earth's rotation, generates electric currents. These currents in turn create a magnetic field around the Earth.
So, the outer core acts like a giant dynamo, constantly generating the magnetic field that protects us from harmful solar radiation.