The commenter’s position is that the situation in Gaza is justifiable because Israel had to take action against Hamas.
This is textbook collective punishment: causing suffering to a massive number of people due to the actions of a minority.
Asuming all that is true, the person you are responding to never said they supported the policies that lead to that or that state of affairs.
It is possible to imagine that someone could both believe that Israel's continued military operation is neccessary and that changes could be made to relieve the humanitarian situation. I dont know if the person you are responding to actually believes that, but based on their comments there is no reason to think they dont.
Edit:
I would also add that the war crime of collective punishment has a specific intent requirement. The perpetrator has to specificly intend to punish the group for an act. Even if the person you were responding to supported all the things you mentioned, unless they supported it as a punishment for oct 7, instead of out of a belief (for example) that it would allow Israel to defeat hamas, then it would not be collective punishment. It would be other war crimes but not collective punishment. See https://opiniojuris.org/2023/10/24/a-short-history-of-the-wa... for a summary of what collective punishment is.
P.s. not so fun fact, the ICC lacks juridsiction over collective punishment, and given they are the main legal body investigating this conflict, we probably arent going to see any investigations into collective punishment