Brianna, Genetically, a woman's legs will be longer than a man of the same height. The man has a longer torso and shorter legs. The woman is the opposite.
I learned this years ago when taking medical level anatomy and physiology. I had this confirmed when I worked at New York & Co. My inseam length at 5'9" is about 31-1/2. A woman at 5'9" will have an inseam of about 33" with flat shoes. The longer length is to allow the woman to have the proper length when in 4" heels.
Jodi