In photos taken from Earth's orbit or the Moon, stars are not visible due to camera settings. Stars emit a dim light compared to sunlit objects. Cameras are set to short exposure times and low sensitivity to avoid overexposing the Earth, the Moon, or other bright objects. With such settings, it is simply impossible to capture the faint light of stars.
If cameras were set up specifically to capture the starry sky, bright foreground objects would appear overexposed or blurry.
DeaghlanNG
Stars ain't real, they is all in yo head.