Explanation
The Earth's atmosphere scatters shorter wavelengths of sunlight, like blue light, more than longer wavelengths. This scattering, known as Rayleigh scattering, causes blue light to be redirected in all directions, making the sky appear blue.