You were asking for a picture I gave you a picture.
Here's the methodology : https://www.washingtoninstitute.org/policy-analysis/polls-show-majority-gazans-were-against-breaking-ceasefire-hamas-and-hezbollah
I gave the other poll as it showed the impact of the war on Hamas popularity.
Hamas is popular in Palestine and other more radical parties are even more popular. There doesn't need to be a conspiracy for Hamas to exist, religion + an Apartheid state right next door is enough.
I gave the polls, you can look at the Fatah party to see how popular the Abbas led government is. Historically you are right, but right now Palestinians are not looking for peaceful solutions. I think Israel made them understand that they would be slowly annexed.
Edit: also I'd recommend reading the two state section of the Wikipedia article on Hamas.