Why does the Sun often appear red or orange near sunrise and sunset?
The Sun appears red or orange near sunrise and sunset primarily due to a phenomenon known as Rayleigh scattering.
Sunlight is composed of all the colors of the visible spectrum, each with a different wavelength. Shorter wavelengths, such as blue and violet, are scattered much more strongly by atmospheric gas molecules than longer wavelengths, such as red and orange.123
When the Sun is near the horizon at sunrise or sunset, its rays must travel through a much thicker layer of the atmosphere to reach an observer than they do when the Sun is high overhead. During this extended passage, the shorter-wavelength blue and violet light is scattered out of the direct beam of sunlight by air molecules and particles. Consequently, the light that reaches the observer's eyes is dominated by the longer-wavelength red and orange components, which are less affected by scattering.2431