I feel that religion evolved as a reaction to human psychology.
It appears that lots of people experience stress when put in ambiguous situations, and that this stress is relieved by yes/no answers (even if the answers are dead wrong).