Why are most librarians women?

At over 80% of the profession being women, librarianship is one of the most gendered professions. Why is that?

Sources