I don't understand humans. It's easy to say "The United States" did this but really: people (working for the US government) did this. How do the employees releasing the chemicals — on their own people — justify their own behavior?
You only have to look at the Nuremburg trials for your answer here. We are social creatures, and following along with the "pack" (which includes following orders from authority) is a very powerful force.
Further, it's not just pack mentality but also the institutional and structural directive. The authority of your supervisor, and the greater authority of the institution and 'the good of the country'. Anarchists have been talking about these problems for a while.