Actually, the medical field is still very unequal. Your husband just happens to work in one of the two only specialties that women outnumber men in (pediatrics and gynecology). The American Pediatric Society explains that back in the late 1800s, when women first started entering careers in medicine, a “role in pediatrics was more acceptable.” So many of the first female doctors in the U.S. focused on childcare and women’s health. That’s probably why women today still choose gender normative roles, and outnumber men in those two specialties.
The highest paying medical specialities, such as orthopedic surgery, urology, cardiology, gastroenterology, have the smallest percentage of women doctors. For example, women make up only 7% of orthopedic surgeons, which is considered the best paying medical specialty. Further, women only make up 9% of urologist, 13% of cardiologist and 18% of gastroenterologist. Why are the numbers so low? Women are generally discouraged from these top paying medical specialities for a slew of reasons which have been cited in medical journals — less exposure to the field in medical school, discouragement among advising faculty and deans, the perception of poor work-life balance, etc.
You can see more about the data mentioned above here: https://amino.com/blog/how-the-gender-gap-is-shifting-in-medicine-medical-specialties-by-gender/