Mansplaining is not the exact thing as hubris, although there are overlaps. Although, as so aptly demonstrated above, women can and do this type of condescending “let me explain your life, thoughts, body, area of expertise to you”, it’s enough of a thing that men overwhelmingly do to women that the term is still fitting.
“In the 1990s, the late Stanford neuroscientist Ben Barres transitioned from female to male. He was in his 40s, mid-career, and afterward he marveled at the stark changes in his professional life. Now that society saw him as male, his ideas were taken more seriously. He was able to complete a whole sentence without being interrupted by a man. A colleague who didn’t know he was transgender even praised his work as “much better than his sister’s.”