why woman is not allowed to become Imam (leader)

thanks for valuable contribution