What causes the sky to appear perfectly black when viewed from a location lacking a substantial atmosphere, like the Moon?

Answer

The near-total absence of gas molecules to intercept and redirect sunlight.

In the vacuum of space, there are virtually no gas molecules present to intercept and redirect the Sun's rays toward an observer, meaning light is not scattered toward the eye.

What causes the sky to appear perfectly black when viewed from a location lacking a substantial atmosphere, like the Moon?

#Videos

Why Does The Sky Change From Blue To Black? | Earth Science

Spacelightcolorskyatmosphere