They created nature based gods to try and explain why things were happening. Let's put an example, that they possibly didn't know where rain came from, so they created gods to substitute it as en explanation of what goes on in nature.
The etopeya of Jesus porfiss is for today
Mozhete li da obyasnite tova, za da moga da vi pomogna, zashtoto sega ne razbiram.