Human nature. And that’s precisely the problem with religion. Most influential religious dogma are simply sugar coated human nature. The fact that it needs to be coated shows that it’s actually something we would normally be repulsive.
I don’t know if God is behind any religion. Maybe God is indeed behind the original religion. A BIG IF, whatever that mean. However it means practically nothing because we’re not following the original religion. We are following modern interpretation of ancient religion.
While I don’t know if God is behind any religion, I know for sure that corrupt officials and tyrants are behind most religious doctrines.