The origin of Dodongos is unknown. They first appeared in the Legend of Zelda: Ocarina of Time, but their origins are never revealed in the game. It's possible that they're just creatures that have always existed in Hyrule or that they were created by Ganondorf or another evil witch or wizard.