I don't know if it is appropriate to say, but I think overt preference in hiring females is one of the biggest cause. Almost every tech company hire women with less qualifications to improve the the diversity. I know it is for the best, but in personal experience, it is very spoken thing between some males. Few interpret inside their head that the females are for them. I think it is evident even in snippets of this article: "I was getting confused figuring out whether to hire you or hit on you." It kind of means that she is not qualified to be hired, according to him, but.. I don't know, it is a complex relationship.