It is thought its body transformed as a result of iron accumulating internally from swallowing soil.

View This Pokémon's Entry on Bulbapedia: