You've got that wrongly, Israel invaded and seized and occupied Gaza and the west bank and have refused to cede them back.Sure, but you haven't said where else in Israel would be considered "safe" even temporarily. Israel is a small country hence why they've shoehorned Palestinians into Gaza, West Bank.
The only other place would be the Golan Heights. Is that even habitable?
Israel is now pushing settlers into the west bank and taking land from the Palestinians.
It is internationally recognised that this is illegal by everyone except the us