https://en.wikipedia.org/wiki/Declaration_of_war
Nobody declares war these days. It is always going to be some type of 'special military operation' at best.
Declaring war implies sticking to the rules. Decapitation strikes on the leadership with side portions of schools getting bombed would be considered illegal if war had been formally declared. Equally, having cluster munitions rain down from the sky over populated cities is also not exactly morally correct.
Rules makes war a sport of sorts, it might as well be boxing where you are not supposed to bite ears or punch below the belt. Yet, if you came under assault and needed to defend yourself, then a bite to the ear or a kick in the balls might make sense at the time.