The relative sizes are approximate, not perfect, but close enough that our monkey brains interpret it as more than a coincidence.
Also since the Sun-Earth distance varies and so does the Earth-Moon distance, the coverage of the Sun varies. We sometimes get annular eclipses where the Sun is not totally covered.