From my own experience around this sort of conversation, it doesn't seem like malice to me.
I'm a male and I've given this response before when someone asked me "have you read about X?" In turn, they gave a brief background because they weren't aware of the full scope of my knowledge on the subject.
If instead I had said: "Yes, I've worked on many projects involving X and I wrote a dissertation on it," then there would be no need for explanation.
It seems more like inexperience with the other gender and conflating assumptions in the workplace.