Just to mention one of many stranger things that have happened.
(By the way - if Nicaraguans had done 9/11, I'd say we had it coming. We didn't.)
What happened in CA was that the money stopped flowing because the USSR stopped supplying one side and we stopped supplying the other, and suddenly war wasn't profitable anymore. And that's despite a history that makes the Middle East look like an amiable chess match.
Russia and the US are no longer at war, because one side ran out of money.
The basic situation, as I see it, is that the Palestineans are convenient pawns (well, not quite pawns, if they were pawns they would be more valued and have more influence on their own destiny) for the Arabs. Without the Arabs backing them while refusing to accept them, they would have accepted one of the many Israeli offers, and enough of them would have moved on to allow Israel to bring the rest in without becoming a minority.
As the Salvedoreans and Soviets discovered, bombs are not cheap. Real refugees don't fight prolonged wars, they can't afford the expense.