Because the moon has no atmosphere, there is no light scattering on its surface. As a result, no light reaches the eyes of an observer on the moon’s surface save that which comes directly from the sun. As a result, an observer on the moon’s surface will see the sun as black.