German nationalism and a filter of hate over the eyes of the people.
Explanation:
The germans after suffering a humiliating defeat and peace deal, the Germans (Who even saw those religious groups, namely Jews as different and odd). The Germans had taken to finding someone to blame, it is theorized by certain modern groups that this is simply a reaction to these ethnic groups ruining the economy, this is likely more what the germans thought instead of fact.
Generally it boils down to the Nationalist government perpetrating the idea that the aryans were a masterrace.