The 2 wars are obviously different. I think you're saying that you have a different opinion to me on who is the initial aggressor: Israel / Gaza / the wider Arab population in 1948. That's been gone over so many times that I'm not sure it's helpful to revisit. The start of WW1 was pretty murky too.
But it's perhaps worth considering the similarities. Gaza has been militarily defeated by Israel. There has been horrific violence and loss on both sides. There is a huge amount of trauma on both sides.
The problems in Israel/Gaza can seem insurmountable, but actually Europe overcame similar problems after WW2 and achieved lasting peace, so perhaps it is possible there too.
Eg, there was already generational trauma from WW1 (4% of the population of Germany and France killed in WW1, trauma in returned soldiers, social upheaval, loss of territory and destruction of the German economy due to war reparations). Then I don't think I need to detail the horrific violence, civilian loss and atrocities of WW2. There were terrible crimes on both sides: I can't imagine what social media would have made of the liberation of Berlin.
Infrastructure - and the ability to sustain the population - was shattered across the whole of Europe.
There was enormous animosity between the people too. A lot of Germans died of starvation within Germany in the aftermath of WW2, as aid was targetted to the Allies. And hundreds of thousands of Germans were killed in the surrounding countries after the end of WW2: either interned and allowed to starve, taken as slave labour and mistreated, or violently expelled from other countries and starved in the process.
Yet we were able to get past that within a generation. That's pretty incredible! So the question has to be: how?
Coming back to the Middle East, I observe that where there have been successes in gaining peace between Israel and its neighbouring states (Egypt and Jordan) it's always started with those countries recognising Israel's borders and ceasing their aggression.
The geography does make it harder for both Gaza and the West Bank. The land area is too small to fit meaningful demilitarized zones, and the West Bank almost cuts Israel in half.
But until Palestinians cease aggression, there can't be peace.