The whole point of Palestinian refugees is that they create a permanent unsolvable crisis for Israel. If the refugees were allowed to leave Gaza and the West Bank, then Israel would no longer have a problem with periodic wars with the Palestinian refugees.
You're making it sound as if the Palestinian problem plays into Israel's interests. Does it?
If not, whose interests is it serving to "keep" them in Gaza?
Are you saying basically that Arab countries won't consider allowing Gazan resettlement in their borders because the status quo keeps conflict alive and gives Iran and others an ongoing pretext for attacking Israel?
What I'm trying to grasp (excuse me if you already said this) is who is doing this?
I'm open to the notion that Israel, or the Muslim Arab nations, or both, desire a perma-war. But I don't have any feeling for it.