The observation that virtually all religions are power based male hierarchies is very telling and suggestive.
The most obvious suggestion for the origin of such hierarchies is that they are the best way to combat the nastiest enemy such a species can face, and that's a power based hierarchy of the same species.
If you then make the simple assumption that these are the cause and effect, religion then becomes a surrogate spinoff of this biological attribute. Not dissimilar to the reason we have pornography. The porn may not actually hit the actual target the metabolism was tuned for, but it does deliver the satisfaction that the biological mechanism was tuned for.
Recorded in Lassen National Park. And yeah, that is they 'eye of Vulcan' (the volcano god) on the volcano behind Thunderf00t!