because some humans are scared of life they feel the need of a god to answer all their questions, they need to feel safe by having someone watch over them at all times, so they can go out into the world, without worry. They are like scared lil children, they don't want to go somewhere without their parents because they feel that something will happen to them, so they create a god in their head to guide them through it.