Russia is occupying Ukraine and when Ukrainians aka "resistance" attacks Russian positions inside their own cities, that is called "defense" similarly when Palestine is occupied by Zionists and Palestinians aka "resistance" attack the Zionists positions in their own cities it is also called "defense".
You are either a hypocrite or you calling both Ukrainian and Palestinian resistance against foreign occupiers terrorists. You can't have double standards about the same exact act of resistance. It doesn't matter that Ukraine has been occupied for 8 years (since annexation of Crimea) and Palestine for 74 years.
During the 2021 11-day Gaza war for example the Zionist terrorist bombed 950 civilian buildings including 40 schools, 10 hospitals (4 run by Gaza ministry of health, 2 run by NGOs, 2 run by doctors without borders, 1 run by Red Cross), a refugee camp, 19 UN medical facilities, an 11 story building for international press that were covering their crimes, ... 8900 innocent Palestinians were wounded and about 300 of then died that included about 100 children.
Both Human Rights Watch and the International Court of Justice accused Israel of war crimes but they were never allowed to enter the occupied Palestine to investigate and the accusations were shut down by the terrorist regime.