Your confusing a state with a people.
Hama’s want to stop Israel (the state) from existing as they occupy of their territory, and make them live in internment camps.
Israel wants to stop the Palestinian people from existing, because they are an inconvenience.
You can support Palestine as a people right to live, and condemn Israeli blanket bombing without supporting Hamas’ shooting civilians.
Or did you also struggle with condemning British occupation of Ireland, whilst also disagreeing with the IRA bombing of civilian targets?