The ruling itself is much more nuanced and covers a lot of situations, including extremely rare disorders of sexual development (DSD) and their variations. The most recent controversies on this topic did not involve transgender athletes, but that's largely unknown or misunderstood by people who only know this topic by headlines and sound bites.
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.