And all the others are negligible by many orders of magnitude compared to the moon. So it's really just the moon as far as this photo is concerned (except for the small sliver that's still illuminated by sunlight, including refracted sunlight).
This is true for every photo ever taken
That's highly incorrect. I have many lightsources that aren't contributing to any photons in that picture. For example my refrigerator light.