Well, California mandates at least 3 months *pay for salaried employees in many layoff scenarios. There’s some further complexities, but I imagine most employees at Twitter in SF qualify.
*technically, notice. But companies can opt to pay 3 months pay in lieu of the notice, if they want to cut ties immediately.