This is just one story of many. If you want to pretend the military is some black and white evil entity to help you sleep at night then go ahead. But it is simply not the reality. The reality is that it is a group of humans who each have to constantly weigh the tradeoffs of horrifically impossible decisions every single day.
https://en.wikipedia.org/wiki/Rules_of_engagement
https://warontherocks.com/2017/07/when-can-a-soldier-disobey...
https://en.wikipedia.org/wiki/Operation_Red_Wings#Execution_...
But militaries do make smaller-scale ethical decisions all the time, e.g: “do we attack this compound that could contain civilians”.
The possibility or certainty of collateral damage never seems to stop much, whether it's wedding guests or fellow car passengers or Osama's wives, it's always bomb first and hand wave it away later, or so it seems.