I think when religions such as Hinduism and Buddhism – as well as Christianity and Judaism – were founded, at that time societies were generally male-dominated. So, therefore this social notion also influenced religion.