Early in the morning, the sun is near the horizon, sunlight reaches us after traveling a longer distance through thick layers of the atmosphere. Thus, most of the blue light and shorter
wavelength are scattered away by the particles in the atmosphere. The light that reaches us is of longer wavelengths giving a reddish appearance. This phenomenon will not be observed
by an astronaut on the moon, because of the absence of atmosphere on the moon.
Alternate Answer
Sun appears red at sunrise as the rays have to travel a larger part of the atmosphere because they are very close to the horizon. Therefore, light other than red is mostly scattered away.
Most of the red light, which is the least scattered, enters our eyes. Hence, the sun during sunrise appear red.