I'm not about to say that the non aggression pact wasn't a problem, but WW2 finds lots of organizations in the same boat that we can attack in the same way. It was an old system where bodies and land meant power, a system that is really dying.
The US was hardly hurt by the war at all, suffering comparatively few casualties; as their states were never actually attacked their primary contribution in Europe was to ship material from their factories to Russia and the other allies. Factories which after the war switched back to making commercial goods.
The war in the Pacific was a different matter, but again, only some US colonies were attacked and civilian suffering even in those territories was nothing compared to what other countries had to deal with.