On the psychology of layoffs in tech