That's a sweeping generalization that simply isn't true. There are many famous women that have made significant contributions to astronomy, astrophysics, & cosmology. There are also many men that are famous chefs, musicians, & artists.
Some examples:
Caroline Herschel
Carolyn Shoemaker
Margaret Burbridge
There are a lot of women who are very interested in astronomy. The problem is, you're looking for them at the clubs and pubs every clear night, when they are outside looking at the night sky.