below are types of origins and the factors that affect religion
geographical - where you live examples - country side, hill, river, cities, suburban
cultural
psychological and emotional
cognitive bias
parents religion/ beliefs
political aspect
commerical aspect -$$$ money money money
technology aspect - how internet affect religion
social aspect - forming a social life among respective religion by integrating activities within the session
emotional/cognitive aspect of human to me is one of important reason why people sort of feel towards god.
its those kind of feeling thing which can be misinterpreted asa belief its soemthing to do with god.
As I've mentioned before, it is a sad and terrible fact that religion has been, and in some cases, still is being, used as a method to control the masses. It is this we as moderate theists and atheists, both human, should be working against. After all, it is all about choice.