The Palestinians are a people struggling to find a national identity. The Sunni and Shia nations have neglected them while blaming the existence of Israel.
Jordan and Egypt both recognize the nation of Israel. Hamas is the elected government of Gaza.
I don't know what the answer is, but blaming Israel is exactly what Iran wants.