There’s no real ghost here, and there is ample evidence that those stereotypes have existed, and often still do.
“The gender/sex distinction is rooted in mind/body dualism”
James Ramsey

I mean you’re reading a writer who comments on those stereotypes extensively. I don’t know why you’re framing it as an either/or — it’s both. There are multiple uses of the word “gender” and it’s typically only the so-called radfems that refuse to acknowledge that.