Quick Answer: As the Moon orbits Earth, we see more or less of its sunlit side. During ordinary phases, sunlight reaches the half of the Moon that faces the Sun. From Earth, we might see just a sliver of that bright half as a crescent or the whole bright disk at full Moon.
As NASA Space Place explains, the Moon takes about a month to go through all of its phases. At new Moon, the Moon sits roughly between Earth and the Sun. Its lit half faces away from us, so we see little or nothing. Over the next two weeks, more of the lit half turns toward us. The thin crescent grows into a full Moon, when the Moon is on the far side of Earth from the Sun and we see its whole sunlit face. Over the next two weeks, the lit part shrinks again.
Why does a quarter Moon look half lit?
The name comes from the Moon’s trip, not from its shape. At first quarter, the Moon has gone about a quarter of the way through its monthly cycle. From Earth, the Sun and the Moon then sit at roughly a right angle. We look at the Moon from the side, so we see half of its sunlit half. On the round face we can see, that shows up as a half circle of light. About a week later the Moon is full, and after another week comes third quarter, when the other half of the face is lit.
Try it with a lamp and a ball in a dark room. Stand several arm’s lengths from the lamp. Hold the ball straight ahead at arm’s length, level with the bulb. Turn slowly with the ball until about half its face looks bright. The light now falls across the ball from the side, just as sunlight falls across the face of a first-quarter Moon.
Is a phase the same as Earth’s shadow?
No. During an ordinary phase, the dark part of the Moon is simply the side facing away from the Sun. Earth’s shadow is not involved. A lunar eclipse is different. According to NASA Space Place, it happens when Earth passes between the Sun and the Moon and Earth’s shadow falls on the Moon. That can only happen at full Moon. Most months the Moon’s tilted orbit carries it just above or below the shadow, so we get an ordinary full Moon instead.
Sources & further reading
That’s the mechanism. The wonder is still allowed.

