You mean her sex.
People often use the word gender when they mean the sex of an individual. In today’s world, people tend to use the word sex to refer to intercourse or other sexual activity, and not the state of being male or female.
I don’t know why or when this happened, but this is how people use the word gender nowadays.