Not a History Major, apparently.. The reason the Nazis rose to power was they were only thugs who could successfully fight the Bolshevist thugs on the streets of Germany.
Interestingly, the German Leftists called themselves Antifascists - Antifa. Same name/flag as our current crop of Leftist thugs.
Yes, the Nazis fought the communists, but they also joined together to wreck the Weimar Republic. A lot of communists joined the SA. The joke was they were “beefsteak Nazis”, Brown on the outside and Red on the inside. After the war many Nazis switched sides and worked for the DDR.