Buddhism wasn't even a religion when it started out, ffs. Gautom was a prince who was surprised by food webs and started meditating. After some time, he came to the conclusion that everything dies and is reborn as something else and this is a continuous cycle.
That was nothing but a half-assed philosophical theory and since indians are so obsessed with their sadhus and stuff, they later started to worhip him. Buddhists' idea of god is very different from our idea of God.
They are basically polytheists. And that whole thing about all buddhists being completely pacifist is exaggerated as well. They literally have temples high in the mountains where they teach children to fight from a young age. Asians throughout history have recruited buddhist monks as mercenaries to fight in their wars.
tl;dr, buddha was basically a prince who became a philosopher and people took every far-fetched thing he said, even further.