The foundational sources for not rejoicing after the churban are the laments themselves: the exiles by the rivers of Babylon weep in remembering Zion (Tehillim 137:1), the joy of the heart has ceased and dancing turned to mourning (Eichah 5:15-16), and Rachel weeps for her children though ultimately told there is reward for her labor and they shall return (Yirmiyahu 31:15-16), while Yeshayahu already looks to a future comforting of those who mourn in Zion (Yeshayahu 61:2-3).
Chazal translate this grief into halachic restraint: one who sees the destroyed cities of Yehuda, the Temple, or Jerusalem in ruins must rend his garments, a tear that can never be fully mended (Moed Katan 26a:1), and song itself, both instrumental and vocal, was forbidden after the destruction, as derived from the verse 'Rejoice not, O Israel' (Gittin 7a:8-9). Rabban Shimon ben Gamliel nonetheless teaches that no days were as joyous for Israel as the Fifteenth of Av and Yom Kippur, showing that the restriction on joy is bounded and not absolute (Taanit 30b-31a), and the Gemara in Sotah describes the ongoing diminishment of the world since the Temple's destruction, with each day more cursed than the last (Sotah 49a:7).
The Mishneh Torah situates this mourning as temporary: all the commemorative fasts are destined to be nullified in the Messianic era and transformed into days of joy and celebration, per the verse in Zechariah (Mishneh Torah, Fasts 5:18-19).
The halachic codes detail concrete practices of minimized joy instituted as a remembrance of the churban: the Shulchan Arukh records that houses may not be built fully plastered and decorated like royal buildings, that a place is left bare at festive tables, that jewelry is left incomplete, and that ashes are placed on a groom's head (Shulchan Arukh, Orach Chayim 560:1-3), and further details the procedure and blessing for rending one's garments upon seeing the ruined cities of Yehuda, Jerusalem, and the Temple (Shulchan Arukh, Orach Chayim 561:1-2). The Mishnah Berurah adds that playing musical instruments is forbidden even without wine, and that singing with wine is forbidden by all opinions (Mishnah Berurah 560:11-12).
Beyond the yearly remembrances, the Tur and the Gemara describe an intensification of restrained joy as Av approaches and through the Nine Days, diminishing business, building, planting, and festive betrothal meals (Tur, Orach Chayim 551), while the Gemara in Taanit applies all the practices of mourning itself to the Ninth of Av, including prohibitions on eating, drinking, anointing, wearing shoes, and marital relations, as well as Torah study (Taanit 30a:10-12). The Shulchan Arukh and the Sefer HaChinukh further detail the stringencies of the pre-fast meal and the day's halachos, likening it in severity to Yom Kippur (Shulchan Arukh, Orach Chayim 552:1, Sefer HaChinukh 313:7).
Menorat HaMaor explains the underlying rationale: because the time of the final redemption remains hidden, Chazal decreed an increase in expressions of mourning and a decrease in expressions of joy throughout the exile, forbidding not only excessive joyous speech but anything that cultivates excessive joy, until the end comes (Menorat HaMaor). Yet the same work notes that the early sages, when contemplating the future consolation of Jerusalem, were able to rejoice and laugh even amid mourning, as when Rabbi Akiva laughed while his colleagues wept upon hearing the tumult of Rome (Menorat HaMaor).
The Maharal's Netzach Yisrael frames mourning the churban as a response to a real cosmic deficiency in the world, explaining that one who does not mourn it is as if no deficiency occurred, and thus does not merit the eventual return to wholeness promised in the verse about the mourners of Zion rejoicing (Netzach Yisrael 23:1).
Later poskim develop the theme in practical and devotional directions: Rav Mordechai Eliyahu teaches that the takkanah to commemorate the churban through diminished joy cannot be entirely avoided, since the decree has already been made, invoking the verse about not placing Jerusalem above one's foremost joy (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 32:1); that one should remember the churban even while eating, reciting a formula of longing for Jerusalem's rebuilding (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 32:5); and that the degree of future joy will correspond to the stringency with which one observes the mourning now, per the verse 'Gladden us according to the days You afflicted us' (Maamar Mordechai Hilchot Taaniyot U'Vein HaMetzarim 20:1).
Rav Moshe Sternbuch's Teshuvos V'hanhagos (6:150) applies this framework to a specific practical question, arguing that since the Temple-era obligation of the lulav was fundamentally bound up with rejoicing, there cannot be a separate post-churban obligation to rejoice specifically with the lulav in Jerusalem — reasoning directly from the churban's effect on the halachic structure of joy.
Other sources widen the picture: the liturgy for the future redemption anticipates joy restored in the rebuilt city (Pesachim 116b:6); the Gemara in Taanit records Avraham's concern for atonement after the Temple's loss, answered by the merit of Torah study of the korbanot (Taanit 27b:4-5); the Tanya distinguishes bitterness of heart from dejection, teaching that mourning-born bitterness retains vitality unlike deadening sadness (Tanya, Part I; Likkutei Amarim 31:6-7); Rav Kook discusses the weight of communal distress on the individual soul and the prohibition against praying from sadness or laziness (Ein Aya, Berakhot 4:57, Ein Aya, Berakhot 5:9); the Keren Orah links the Three Weeks' misfortunes to the ongoing diminishment since the breaking of the Tablets (Keren Orah, Taanit 30b); Rav Melamed discusses how the churban diminished even the pleasure of intimate mitzvah fulfillment (Peninei Halakhah, Simchat Habayit U'Virkhato 3:15); the Likkutei Sichos analyzes how the post-Temple obligation of simcha on Yom Tov is fulfilled specifically through wine where meat no longer suffices (Likkutei Sichos 33 בהעלותך 2); the Responsa Benei Banim discusses the causes of the churban itself through the episode of Kamtza and Bar Kamtza (Responsa Benei Banim, Volume I, Essays 5:3-5); and the Shulchan Arukh, Yoreh De'ah addresses the separate question of joining in gentile festival rejoicing (Shulchan Arukh, Yoreh De'ah 148:12).