Why can you see the Moon in daylight?

A bright half Moon in a blue afternoon sky is often near first quarter. At this phase, the Moon appears about a quarter turn east of the Sun in the sky. It typically rises around midday and remains visible into the evening. Near last quarter it is west of the Sun, making the morning a better time to look.

A full Moon lies roughly opposite the Sun. It tends to rise around sunset and set around sunrise, so it spends most of its time above the horizon at night. Local times vary with date and latitude, and a bright or cloudy sky can make the Moon hard to pick out. NASA Science

Turn on the Moon in Sky Above and advance the date a few days at a time. At each quarter, look at the angle between the Sun and Moon as seen from Earth. The model illustrates the geometry.