Why is the refractive index of atmosphere different at different altitudes?
Because air density changes with altitude
Because speed of light in vacuum changes.
The refractive index of atmosphere at different altitudes doesn't change.
Because of total internal reflection
The refractive index of atmosphere is different at different altitudes because the air density changes with altitude.