"During the war, over 16 million Americans served in the United States Armed Forces, with 405,399 killed in action and 671,278 wounded. There were also 130,201 American prisoners of war, of whom 116,129 returned home after the war." https://en.wikipedia.org/wiki/Military_history_of_the_United...
Soldiers returned home with stories of what they had seen, including horrors of the death camps in Europe and atrocities in the Pacific. This deeply affected Americans. I was born decades after it ended, but growing up it seemed everyone older than me had been affected by it.
Also, the modern media age was in full swing. Huge amounts of footage had been filmed during the war, and there was an oversupply of military hardware that needed blowing up. These made WWII films easy to splice together.
The US was operating a massive program of denazification in Germany and demilitarization in Japan. This was combined with economic rebuilding with the goal of establishing the type of peacetime prosperity that people wouldn't want to give up for fighting.
Why Nazis specifically? Many Americans saw what happened to the modern hardworking Protestant society that was Germany and thought "Oh so this is what it looks like when white people become drug-fueled psycho nationalists" and then quickly "Dear God, please not here."
So, yeah, we don't tend to think of WWI as much as being one of the major wars we were involved in. The major wars we tend to think about in our cultural consciousness are the Revolutionary War, Civil War, WWII, Vietnam War, and then because of the recency bias, the "global war on terror" in Iraq/Afghanistan. WWI is covered in history classes of course, but primarily from the western front perspective, which the US didn't get involved in until the war was almost won.
WWII was the start of a new world order with the USA at the forefront.
It does offer a useful comparison though. In WW1 there were no cartoonishly evil baddies, just a bunch of pointless deaths. It didn't devastate a civilian population, either - nobody got to feel like a hero, there were no joyful liberations. WW2 was a righteous war (that also happened to be an economic goldmine). That permanently shifted American culture (and killed isolationism stone dead). So Nazis became THE enemy - the Lucifer to America's new God complex.
In contrast, the full scale of the horrors of the Nazi regime were not widely known until the final days of WW2.
But the US? WW2 was the making of modern America. The US was catapulted into a world leader position, and got to feel like a badass hero doing it. And WW2 was the US's first major overseas conflict. Nazis are the archetypical "enemy without".