@1dayatatime
I agree with a lot of your points in that the political stability of Jordan and Egypt are of importance and I didn't pretend this is at all easy. The point is that Jordan is managing to exist as a state and is not a regional threat. There are millions of Palestinians in Jordan (or of Palestinian heritage) yet Hamas or similar groups have not had the power to become an immediate threat to Israel. Another point is that many Palestinians can be seen as Jordanians and over time the people will have a joint identity Palestinian and Jordanian and importantly live in a state.
Jordan and Egypt would need a hell of a lot of persuasion I agree to allow a new influx of Gazans but I don't think we should entirely remove this from the table when as I have said previously a 2 state solution for Palestine looks in real political terms increasingly remote and Gaza will never be territory with enough resource to support a people.
The world has always had fluctuating states and the idea of statehood is a complex one. Not everyone gets a state they want (look at the kurds) and sometimes there is partition of countries to form new ones due to internal tension(India/Pakistan). It is also obvious you can retain cultures and identity in other states (both Jews and Muslims retain distinct cultures in the UK for example).
All I am saying is that in the real world it is perhaps inevitable you need to look at what works in terms of lasting peace and prosperity. To my mind October 7th may be was a Rubicon that showed Gaza having peaceful relations with Israel whether or not as part of a 2 state solution was high on impossible and therefore people are drawn to think 'outside the box'