Go outside at night, stand under a porchlight, and take a selfie with the clear night sky in the background. The phone will adjust to the bright light on your face and not the dark skies, making the stars invisible.
That’s what happened on the moon, the cameras were there to photography the surface, not the sky. If they had been adjusted to capture the stars, the surface would have been hopelessly washed out.
Latest Answers