So it's the headline that's inaccurate. It should read "bars women with the SRY gene" rather than "transgender."
The headline writers are relating it back to the topic which brings the most clicks, which is transgender athletes.
The IOC didn't go on a crusade against transgender athletes specifically. They were refining the rules on sex-based divisions and included a lot of considerations and nuance.