This is your error. States and peoples are not unitary entities with a single coherent outlook and will. The vast majority of the Israeli population is far too young to have directly experienced the Holocaust, which ended 80 years ago. There are plenty of people in Israel who do not want to commit atrocities against Palestinians. There are also people who feel that they have a (literally) god-given right to occupy the territories where Palestinians currently live. If you think of Benjamin Netanyahu's cabinet as being basically the same people who survived Nazi concentration camps in World War 2, then nothing Israel is doing in 2024 will make much sense.
To my mind, Israel's actions toward Palestinians (both in Gaza and the West Bank) are powerful evidence that nationalism inherently leads to atrocity no matter who's involved. If the cultural memory of being targeted by the Holocaust won't stop an ethno-state from setting up an apartheid regime, what will?
There's no question that the Holocaust has enormous salience to Israeli Jewish people. But if you trace your roots to rural Arab Jewish families from Yemen or Iraq, your more immediate concern would be your own family's immediate viability in a world without Israel. A new rise of European fascism wouldn't be your problem; the fact that you'd have literally no place to go would be. You're sure as shit not moving back to Yemen.
How does something occurring in Palestine justify this? Tying the actions of Jewish militias to your local Jewish population is antisemitic… if they expelled them to protest the creation of Israel, then that isn’t anti-Zionist. That they mostly all ended up going to Israel is ironically supporting the Zionist cause
The real question is, would that have happened if it were not for:
-demonstrated brutality against the Palestinian population
-explicit creation of the Israeli state tied to a particular ethno-religious identity
If there had been no violence, and if Israel had just been a newly-independent country with the creation led by but not defined by the culture of the Jewish immigrants, would there have been a purge across the region? Personally I think not.
I'm trying to highlight that there is significantly more nuance to the creation of Israel beyond "we just showed up one day and everyone was mean to us for no reason" which, IMO, has surprisingly crept into numerous comments even on HN where you would expect such an educated demographic to know better...