The correct answer is: B. Red light having longer wave length scatters away.
Sunlight is a mixture of all the colors of the rainbow. When sunlight reaches the Earth's atmosphere, some of the colors are scattered in all directions by the tiny molecules of air. Blue light is scattered more than the other colors because it travels as shorter, smaller waves. This is why we see a blue sky most of the time.
At sunrise and sunset, the sunlight has to travel through more of the atmosphere to reach us. The longer journey through the atmosphere allows for more of the blue light to be scattered away, leaving behind the warmer colors like red, orange, and yellow. This is why the sun appears red at sunrise and sunset.
Option A is incorrect because the sun emits all colors of light at all times. Option C is incorrect because the sun does not come out of the mountains. Option D is incorrect because all colors of light are scattered, but blue light is scattered more than the other colors.