Ezra got permission and provision from the king to return to Jerusalem. The God of Israel is a God of restoration to those who trust in Him.
Judah was able to rebuild the temple because the Lord was in the work with them.
International opposition against Judah caused the temple rebuild to come to a halt.
The people of Judah were dragged off into captivity, so how did they get back?