"Results provide strong support for hormonal influences on interest in occupations characterized by working with Things versus People." - Gendered Occupational Interests: Prenatal Androgen Effects on Psychological Orientation to Things Versus People (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3166361/)
"Gender differences in personality tend to be larger in gender‐egalitarian societies than in gender‐inegalitarian societies, a finding that contradicts social role theory but is consistent with evolutionary, attributional, and social comparison theories. In contrast, gender differences in interests appear to be consistent across cultures and over time, a finding that suggests possible biologic influences." - Gender Differences in Personality and Interests: When, Where, and Why?" (https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1751-9004....)
It would be ignorant to assume that biology has zero impact on occupational interest.