At the beginning of the Second House, Zecharyah asked whether Israel should still weep in the fifth month. As the Alshich and Metzudat David explained, Hashem answered that the four fasts would become days of joy. After the Second House was destroyed, Chazal restored the fasts, until the Third Beit HaMikdash is built.