I know little about how Twitter works, but it's interesting that a new leader would make such sweeping changes just a few days into the job. Usually, you would want at least a little time viewing and understanding the org from your new job/perspective before changing anything major.
It sort of implies a CEO decision coming from solely a CTO perspective.