The straightforward solution to your inquiry is the camera settings used to take most photographs from the Moon weren't intended to catch stars.
Apollo space travelers utilized film cameras, so to comprehend the appropriate response, we have to clarify a smidgen about how camera presentation functions. Film is a light-delicate emulsion over plastic. At the point when that plastic is presented to light through the camera's focal point, a synthetic change creates a negative picture of whatever is captured.
Most Apollo pictures from the Moon's surface demonstrate a dull sky without stars. In the photograph over, the camera settings required to photo the splendid surface and the lunar module can't catch light from diminish stars. Apollo 16 took pictures in the far bright from the outside of the Moon. Since the camera was set in a dim area and set to take long exposures, pictures demonstrate an overexposed Earth against a background of stars.
Be that as it may, the measure of light isn't generally the equivalent. A picture taker needs to think about the focal point opening and screen speed, the two of which control how much light hits the film. A littler gap implies less light, as completes a quicker screen speed. It's practically similar to how your understudy tightens on a brilliant day and enlarges during the evening: Your eye consequently modifies your opening so you can see in various conditions.
A picture taker likewise needs to think about the most significant piece of the photo before setting opening and shade speed. As a rule, the more splendid the objective article, the littler the opening and the quicker the shade; generally, an excess of light will hit the film, and the photograph will be commanded by a washed-out, overexposed point of convergence.
Suppose you're Neil Armstrong shooting Buzz Aldrin during a brilliant lunar day. Buzz (in his spacesuit) and the lunar surface will be the most splendid items in your shot. So for him to be obvious, you need to pick a quick screen speed and a littler gap. The outcome is an unmistakable picture of Buzz, yet other light sources, similar to the stars, are too diminish to even think about leaving an impact on the film.
Since the most significant things the space explorers shot were one another and the Moon's surface, their cameras were set to catch them in center — not the dimmer, removed stars. Be that as it may, there are a few pictures where you can see stars in space. Apollo space explorers left the camera's shade open longer during some photographic examinations. The outcomes show pinpoints of light behind the brilliant, fluffy masses that are the overexposed Moon or Earth.
Retrieved from http://www.astronomy.com/magazine/ask-astro/2019/07/why-do-pictures-of-earth-taken-from-the-moon-show-a-black-sky-with-no-stars-can-the-stars-only-be-seen-with-an-atmosphere