To hell history: if everything was democratic, anybody could stay wherever they want, as they want, and just do whatever they want or otherwise try to convince other. The problem is lack of democracy in medium-orient (even Israel). The problem is capitalism, and it is making life hard not only for palestinian but also most israelians anyway.
Libertarian communism and everything is solved …about that (then you get the other problems, like “economy is not trivial” or “democracy is difficult” 😆)