How about de facto relationships laws and #metoo movements?
These make long term or short term relationships much more risky for men. As a result, men stop pursuing women in a romantic sense, therefore their body downregulates t production and upregulates things they do instead (estrogen, to relate to
women platonically, since that is the only low risk way left to relate to women).
So it's cognition which changes behavioural patterns which the body responds to, not the other way around.