Neap tides occur when the Sun, Earth, and Moon form a right angle. This happens when the gravitational forces of the Sun and the Moon partially cancel each other out, leading to lower tidal ranges. Neap tides typically occur during the first and third quarters of the Moon, which is when the Moon is at a right angle to the Sun as observed from Earth.