Why do photos taken from the sunlit surface of the Moon show a pitch-black sky?

Answer

Sunlight is not scattered because the Moon lacks an atmosphere

The sky remains pitch black near the Moon because, in the absence of an atmosphere, the sunlight illuminating the lunar dust is not scattered toward the observer's eye from directions other than the direct source.

Why do photos taken from the sunlit surface of the Moon show a pitch-black sky?
Spaceskyastronautsvacuumlight scattering