Stripe's layoffs were part of the business climate; Twitter's layoffs are the result of the new owner deciding to fire half the company.