They aren’t.
6 examples of a trans person also being a sex pest doesn’t mean that all of them are, and it certainly doesn’t mean that granting legal protection and freedom to transgender people causes women to get assaulted/harassed by them. Do you know how many examples of cis men being sexual predators we could find in just a few minutes of googling things like “pastor arrested” or “republican senator arrested”. Does that mean we should start making it illegal for people to identify as republicans in public? should we make it illegal for the clergy to get anywhere near children? Maybe we should, but you won’t see any of these “wont somebody please think of the children” types calling for either of those, even though they’re clearly bigger threats statistically.