Some of the most beautiful atmospheric displays begin with activity on the Sun.
Collisions with atmospheric gases can cause those gases to emit visible light.
The shapes of auroras depend on magnetic field structures https://homepage.ninja/n58betbrcom