Earth’s magnetic field pushes away much of the solar wind
Moving material deep inside Earth creates its magnetic field. That field forms a protective region around the planet that pushes away much of the solar wind, although it also traps some charged particles.