I understand what you write. But as someone whose ancestors live in the Middle East even before Muhammad was born. Throughout history, Muslims massacred minorities for religious reasons This is a religion that was imposed with the help of the sword.
So for the sake of discussion only, even if 95% of the Palestinians say today that they are against Hamas, there is still a chance of another 7/10 in the future.
In practice, most Palestinians support Hamas and what they did on 7/10.