The only way to end it and the one way that absolutely will not be undertaken is to remove all the Moslems from Gaza. Give them a choice- Egypt or the sea. If done it would also have the salutary effect of suppressing all thoughts of mayhem among the Judaea-Samaria arab population for a time.
Only one problem with that scenario. Egypt doesn’t want them and wont accept them.