But here's the difference.Now imagine that they took that entire population and put them in a giant prison where there was 54% unemployment, 75% are refugees, 90% of the water is undrinkable and Paris controlled who comes in and out, how much food, water and electricity they got.
And then they bombed them.
There is no logical reason that the non whites in France are segregated.
But much of the Arab population in Gaza is actively hostile towards Israel and cannot co exist with the Israelis. Hence those big barbed wire fences and guarded checkpoints.