"Earth’s atmosphere is made up of different gases, mainly nitrogen and oxygen. The color of an aurora depends on the type of gas involved and how high up the collision occurs.
Aurora displays can occur at heights between approximately 80 and 500 km (50–311 miles) above Earth’s surface.
This also affects the colors that we see in the sky."
Article: https://www.timeanddate.com/news/astronomy/solar-maximum-aurora-colors