lots of studies about that. especially twin studies with m/f twins.
Twin studies with m/f twins outside of an environment shaped by external imposition of traditional (or otherwise differentiated) gender roles and gender-based expectations and treatments?
If so, how was that acheived?
If not, you haven't supported the conclusion of differences even if you fix environmental differences.
Another thing you can do is compare countries, or families, or perhaps schools, that are "more gender-role-restrictive" or "less gender-role-restrictive". Surely if the environment has an impact, then varying the strength of that environment would vary the impact. (Obviously there would be other variables to control for.)
The genders clearly are quite different (on average with large individual variations). It also must matter a lot how society is structured to handle the young maturing. I don't think 2021 America is particularly good at this.