It’s because Magneto’s backstory as a Holocaust survivor came twenty years after his introduction and he just genuinely wanted to do some genocide because he was a eugenicist.
And, also, it’s a property for children and adults who grew out of the demographic can’t stop overanalyzing the overall plot of “bigotry is bad and so is political violence”