https://en.wikipedia.org/wiki/Jewish_exodus_from_the_Muslim_world
In 1948 and the years following, many countries in MENA became significantly more hostile to their Jewish minority populations. Most of the time this occurred in the form of pogroms and riots in Jewish neighborhoods, rather than official government action, although there were some instances of that too. As far as I can tell the worst cases of this were in Morocco, Libya, Yemen, Syria, and Iraq.
Between 1948 and 1978, about 650,000 Jews moved from Muslim-majority countries to Israel, and although not all of them were driven out by antisemitic violence, certainly some of them were. The debate over the relative importance of "pull factors" vs "push factors" is ongoing.
Zionists like to bring this up as a gotcha and ask things like "why doesn't the pro-Palestine side ever talk about giving Jews who were pushed out of Morocco a right to return there? Expulsion didn't just happen to Palestinians"
As far as I can tell we haven't really come up with a good answer to this, so maybe we should formulate one.
It's not a complete answer, but yeah, Israel commits Nakba against Arabs -> Arabs hate Jews isn't exactly a complex chain of causality.