I know, that’s why it made no sense. Naziism, communism, socialism & fascism are all the same with minor variations. In some cases the variations are more perception than reality.
That's certainly what Germans thought in the 1930's. Hence the war between the two factions in the run-up to Hitler's takeover via the Enabling Act of 1933.