I think the answer is pretty simple.
Ancient people didnt have enough scientific knowledge about nature, so they HAD TO get answers from somewhere else because otherwise they couldnt function properly as people and society.
They created whole bunch of religions over time. As time passed...