The molecules of air in the atmosphere are smaller than the wavelength of visible light. You may already be aware that particles of a very small size tend to scatter only blue colors. They are better at scattering light with shorter wavelengths.