Hamas a resistance groups that also commit act of terrorisms similar to many other liberation movements due to desperation and decades of occupation . It is only declared as a terrorist group for political reasons. If we go from the unbiased version of terrorism than the united state and Canada and many other western countries committed act of terrorism similar to Russia, Iran, Israel etc . At best only 20% of countries define hamas as a terrorist group
While our governments refuse to stop Israel and Israel refuse to end occupation. Palestinians won't stay silent and wait forever for things to change. Some will try peaceful methods, some will only target military objective , some are just filled with hate due to Israel oppression and will try to do the most possible damage