Just a few short years ago Hamas was sending suicide bombers into Israel and killing hundreds of Israelis . The only reason they aren't still doing it is that Israel has built a wall and developed better intelligence to prevent such atrocities.
There is another thing people in Gaza could do. They could throw out Hamas and elect people who are willing to negotiate and then sit down and negotiate a peace treaty. OR Palestinians always have the so called nuclear option of demanding incorporation into Israel and the right to vote in. Israeli elections...which would be almost give Palestinians a majority in the Knesset