Even so, there's another aspect here -- service. Women are disproportionally assigned service roles in academic departments (men eschew such assignments if they can). Hence, existing male staff may prefer to tenure female colleagues to reduce their own future service burden.
Sexism (in this conversation meaning male preferential treatment) is still quite an issue in academia.
[1] https://www.insidehighered.com/news/2011/01/12/new_study_fin...