This morning I woke up to a beautiful sunrise (pictured) and got to pondering how the colors came to be. Apparently, they result from a process called scattering, a process by which small particles in the the atmosphere change the direction of light rays, causing them to scatter.
Although scattering affects the color of light emitted in the sky, the details are determined by the wavelength of the light and size of the particle in that the long-wavelength red are scattered by molecules in the air much less than other colors of the spectrum.
We see sunsets and sunrises as a result of the sun being low on the horizon where sunlight passes through more air at those times of day.
The blue light seen throughout the day is scattered away from our eyes, leaving the more orange and red light to pass through.