You know one terrorist is a liberation fighter for another. And those labels are given by the strong side.
There are plenty of examples of very ambiguous terrorist designation by a lot of countries, like Turkiey for example, who have labelled the PKK as a terrorist organisation.
If Israel had recognised the Palestinian statehood and didn’t make everything possible to prevent them from uniting them, Hamas wouldn’t exist.