There is a nice image of Earth (ø = 12,756 km) and Moon (ø = 3,476 km) at the same scale.
It is a matter of size and distance. The Apollo Lunar Module shown in the first image of the question is very close to the Moon, some hundred kilometers only but very far away from Earth, about 360,000 km.
But the distance of the camera to the Moon is much bigger in the second image.
The Moon is very, very tiny when compared to the Sun. But at a total solar eclipse, the Moon covers the whole Sun when seen from the surface of Earth. At a annular eclipse, the Moon is farther away from Earth and does not cover the whole Sun. Of course the distance from Earth to Moon is much smaller than that from Earth to the Sun.
Even your thumb may cover the Sun when you stretch out your arm.
But Earth may look much smaller, even smaller than a single pixel. Look at the Pale Blue Dot "taken on February 14, 1990, by the Voyager 1 space probe from a record distance of about 6 billion kilometers (3.7 billion miles, 40.5 AU)"