The second Temple could only be built once the Persians defeated the Babylonians and ushered in an age of relative peace for the Jews living in and around Jerusalem. But this situation (along with pretty much every other situation) was changed by Alexander the Great.

