The Moon does not make its own light. It reflects light from the Sun.
The dusty surface of the Moon reflects only about 12 percent of the Sun’s rays. But that’s enough to make it shine brightly. However, we don’t see all of it from Earth all the time.