Combination of factors...
-Economic stressors make people more sympathetic to bad ideas
(it should be noted that both the KPD and the Nazi Party in Germany during that era started off with "less-threatening sounding" economic appeals to the sorry state of post-WW1 affairs they were in...neither came right out of the gate with "capitalism need to be abolished" or "we need to eradicate the Jews who are hoarding all the money via usury" that came later in more gradual increments)
In the case of the DAP/NSDAP, that's not true.
The DAP was profoundly ethnonationalist, anti-Semitic, anti-Marxist/anti-Bolshevist, anti-Capitalist/anti-materialist and centred around volkish notions of racial hierarchy from the outset. The "less-threatening sounding" parts of its platform were mostly added as window dressing to make it more appealing. In some ways, the NSDAP of the late 1920s and 1930s was a lot less overtly extreme than it was at its founding.
The NSDAP 25-point platform of 1920 included:
Demand for land and colonies to "feed our people and to settle our surplus population"
Citizenship exclusively those of "German blood, whatever their creed". Explicitly, "no Jew may be a member of the nation".
Non-citizens to be subject to "laws for aliens" and may not become nationals
All "non-German" immigration to be prevented
Expulsion of "non-Germans" in times of famine
The "abolition of incomes unearned by work"
Confiscation of all war profits
Nationalisation of all corporations and trusts
Laws permitting expropriation of land for communal purposes without compensation
Abolition of "ground rent"
Prohibition on land speculation
Death penalties for "common criminals, usurers, profiteers, etc"
Formation of a people’s army
Legal prohibition of "non-Germans" from participating financially in or influencing German newspapers
Outlawing the publication of material that is "not conducive to the national welfare" including legal prosecution of "all those tendencies in art and literature which corrupt our national life" and the suppression of cultural events.