Like I said, it is nothing of any particular special interest to me, I just cursory read up about the topic many years ago on some website to be someqwhat familiar with the basic history and problems over there, so I was sure my understanding was far from perfect or complete, but like you confirmed, I was pretty sure that Iran had some hand in helping sponsor them.
But the gist of it is that neither Palestine nor Hamas have any role in sharing Israel's desire for peace, while Israel would prefer a peaceful settlement and mutual coexistence, Hamas and Palestine are unilaterally resolved to only one goal: peace through the annihilation of Israel.
And at every step of the game, Hamas and Palestine have only succeeded in losing every time to where now, all they have left is the Gaza Strip.
Now, they may not even have that anymore.