There were always Jewish people in the area who were often treated as second class citizens by a Muslim majority, btw.
When the west promised Israel to the Jewish people around the globe and the population already living there, many other Arab/Muslim countries were also already gladly exiling their Jewish population as well.
It wasn’t “just the west”.
With the promise of a state and Zionism as a religious driver they stomped the people already living there, although these people were simultaneously promised their own state called Palestine.