when the problem is that civilian settlements should not be targeted to begin with.
The goal of the operation was taking hostages and dealing damage to the IDF, not attacking civilians. They then attacked civilians, but we have no reason to believe that was a goal of the operation.