The reason we see a blue sky
or orange and red sky at sunset
are related to a process called scattering.
Scattering is a process in which light is absorbed by small particles in atmosphere and quickly re-emitted at the same wavelength.
Scattering is most effective when the emitting wavelength is about the same size of those oscillating molecules.