I should note that this isn't true on Eberron, where their origin is disputed (there's no Plane of Earth for starters) and they, as mortal Elemental creatures, have no set alignment (though are likely to be aligned with 'monstrous' factions). They're inspired by real world history, but in D&D lore they're instilled with hatred even before their form finalizes on the elemental plane of Earth.