The remarkable natural light show is the result of electrons colliding with atoms in the upper reaches of Earth’s atmosphere.