Hamas is a terrorist group who commits violence against Jewish people and all Israelis.
Palestinians however, do not.
Israels current government and members of the IDF who commit violence against Palestinians. Israelis however, do not.
That's because a "state" is more than just it's govenment or military, but that of it's people and infrastructure and many Israelis oppose and protest the actions of their government and the IDF towards Palestinians.
Because of your analogy, you have just stated then, albeit unwittingly, that Palestine must therefore be a "Terrorist State" as well because of the actions of Hamas who represents them. So which is it?