Answer: When the solar wind gets past the magnetic field and travels towards the Earth, it runs into the atmosphere. ... As the protons and electrons from the solar wind hit the particles in the Earth's atmosphere, they release energy – and this is what causes the northern lights.