During times of exile and physical distance, prayer serves as a spiritual bridge, guiding the heart and soul back to their sacred center. The complete return of the people to God is born specifically out of the profound hardships they experience after being taken into captivity [מצודת ציון, מנחת שי, ביאור שטיינזלץ]. This awakening to true repentance is triggered by a harsh realization regarding their captors. The people will endure numerous troubles until they understand that those who hold them captive are not merely foreign rulers, but active enemies intent on causing them severe distress [מלבי״ם].
While this reflects a general reality of exile, a specific historical context is also suggested, pointing to the Median exile rather than the initial Babylonian dispersion. From this perspective, the collective repentance and prayer are a direct response to the threat of total annihilation orchestrated by Haman and Ahasuerus. The people's cry during this period is not only for their survival but also a deep mourning over the halted reconstruction of Jerusalem and the Temple [אלשיך].
From the very depths of this foreign exile, the people direct their prayers toward God through a specific, graduated path. Because they are trapped in a strange land, their prayers are meant to travel along a distinct geographic and spiritual route. First, the prayer is directed toward the Land of Israel. From there, it focuses further inward toward the chosen city, ultimately arriving at its final and most sacred destination: the House built for God [מלבי״ם, מצודת דוד, ביאור שטיינזלץ].