A solar eclipse requires the Moon to pass directly between Earth and the Sun, so it can occur only at a new moon—the lunar phase when the Moon lies in roughly the Sun’s direction as viewed from Earth. At a full moon, the alignment instead can produce a lunar eclipse, with Earth casting its shadow on the Moon.
Yet most new moons cause no solar eclipse because the Moon’s orbit is tilted by just over 5° relative to Earth’s orbital plane, the ecliptic. The Moon therefore usually passes north or south of the Sun. An eclipse becomes possible only during an eclipse season, when a new moon occurs close to one of the two orbital nodes where the Moon’s orbit crosses the ecliptic. These seasons recur about every six months, which is why solar eclipses occur only then. See #Geometry and #Occurrence and cycles.
Geometry of a total solar eclipse (not to scale)