Israel levelled Gaza after capturing the area, with artillery and with air strikes.

Russia hasn’t captured Kiev, their artillery can’t reach that far and they don’t have air superiority - Russia hardly has an airforce anymore.

Also worth remembering that Gaza is effectively an island when it comes to logistics. This made it easy for Israel to cut off food/medicine/fuel. Essentially medieval siege warfare transferred to the present day.