Remind me again why Israel turned over Gaza? Oh right! It was for peace!
Israel turned over Gaza precisely so there would be an enemy entity to declare against. When Gaza was Israeli, there could be no such declaration, just more Israeli collateral damage when the military attacked Hamas.
I don’t think it will ultimately be a successful gambit, but there is logic in having a geographically defined enemy entity.