Are the later (Second?) Jewish migrations from Arab nations caused by the Arab nations themselves or because Jewish people had a place to call their own, and decided to leave for better prospects?
The uprisings that led to a more religious middle East definitely played a role. Almost all of Iran's Jews left during the revolution, about 100,000.
With Israel now a nation state, it promoted Jews scattered across the Arab world to go there due to proximity.