The light from the moon is light being reflected from the sun. The sun, in space, is white. But on Earth, when the light is filtered through an atmosphere, the light appears yellow. So then, why is moonlight white through the atmosphere?