google the photo “flag points home”
The earth is directly overhead from the moons surface, but you could see it dip below the horizon if you were at the moons poles
The photos of the earth with the moon in the foreground were all taken from spacecraft, not from the surface