Egypt could solve a lot of these issues very fast if they made a deal for joint contol of Gaza with the West Bank with Jordan and Israel, and I expect most in the West would welcome it.Basically, the Palestinians originated as cast-offs from other countries' populations; they're false inheritors, and their claims that the land belonged to them are lies.
However, time has basically forged these cast-offs into their own cultural identity/group in the current day, even if their founding were all based on lies.
Unfortunately for the world at large, that cultural identity/group are batshit insane, inbred religious fundamentalists ultimately driven by falsehoods and deception.
Egypt needs to stop trying to pretend this isn't partly it's fault, after Israel gave back the Sinai with the understanding Egypt wouldn't allow Islamists to smuggle shit over Israel's new border.