Making an assumption, so far I have only read the CNBC article.
Many of the recent tech layoffs included entire departments not entirely related to the operation of the business, the core product. For example: recruiting departments. When entire diversity departments were terminated, many considered the move racist. Perhaps Twilio found themselves in this scenario?