Why is the sky black on the Moon, even in the daytime?

On Earth the sky looks bright because air scatters sunlight everywhere. The Moon has almost no air, so there is nothing to scatter the light — the sky stays black even while the Sun shines.

More like this in But WHY?! — 162 illustrated answers for curious kids aged 7–12.