I don’t trust Twitter with my phone number, but they mandate a verified number if you want to work with their API, or even if you just want to turn on 2FA. So for now, I can’t setup some test apps, or fully secure my account.
The API thing I sorta get, even if it’s inconvenient for privacy-minded folks, but the 2FA thing makes no sense. SMS 2FA has been discouraged for years at this point. There’s no security need to ask for the phone number, other than to harvest it as another data profile identifier.