Why?

And thou, Capernaum, which art exalted unto heaven, shalt be brought down to hades: for if the mighty works, which have been done in thee, had been done in Sodom, it would have remained until this day. Matthew 11:23

Why, then, were those mighty works not done? Is it not the will of  God that none should perish, but that all should come, through repentance, unto life? Does not He Himself plead with men, saying, “Why will ye die” (c.f. Ezekiel 18:31; 33:11)? Yet the Lord Jesus, Who knew what might have been as well as what had been, solemnly declares that even the guilty inhabitants of Sodom and of Tyre and Sidon would have been brought to repentance and life had they witnessed the mighty works wrought in the favored cities of Galilee! Why were they not permitted to witness them, then? Can we blame them, will God condemn them, and condemn them to an eternal death or an eternal misery, because they did not see what they could not see, because they did not repent, when the very means which would infallibly have induced repentance were not vouchsafed them?

From Salvator Mundi by Samuel Cox