The decisions to use the nuclear bombs were fully intentional and deliberated on for a long time. Nothing about it was accidental, merely the erosion of empathy and desire to finish the war as quickly as possible. So that's an irrelevant comparison.