Here's why:
* The moon doesn't produce its own light. It's a large, rocky body that orbits the Earth.
* The moon reflects sunlight. The surface of the moon is covered in craters and dust, which scatter and reflect sunlight that reaches it from the sun.
* We see the reflected light. When sunlight hits the moon and is reflected back towards Earth, we see it as moonlight.
So, the "ray of light" we see from the moon is actually a beam of sunlight that has bounced off its surface.