It is not and has never been rooted in any sort of sociological concept of gender as an independent category from one’s sex.
It is infuriating how successful the "facts don't care about your feelings" crowd has been at pushing discriminatory legislation through in the last few years based largely on feelings rather than facts.
That the criteria for admission are altered now to exclude some of them is motivated by anti-trans politics. Usually such rule changes are made when it becomes obvious that the old rules cause outcomes which go against the spirit of the sport. You cannot argue this here in good faith. There are not a lot of trans women competing and none have even won anything afaik.