The fact is that we do not get eclipse every month but there is always an "alignment" period. I am not even sure if the orbit of the moon is exactly in the plane of the orbit of the earth around the sun. If there is a minute inclination between these two orbits, only every so often will the shadow of the earth actually overlap the orbit, and thus the moon.