Besides, while twitter pretend not requiring a phone number to register, they effectively do.
So they can do something, because trolls and bots are not that subtle, and can be detected, and ban is effective, because creating an account with a phone number is cheap, but not free.