Well we don't know what would have happened on the other timeline where gaza didn't face consequences for electing Hamas.
Deterrence means there had to be reprisals even if you think things were brutal beforehand. They clearly got more brutal. Suggesting they should maintain the status quo after such an attack doesn't make sense to me.