They're paying severance, bonus, healthcare, etc which is the only way to do an ethical layoff. CEOs that wait until the last minute to do layoffs and then pay little to no severance are shitty people, and no one should trust to work for them ever again. CEOs that provide a softer landing for laid off employees should be rewarded by not having their reputations destroyed in the mind of current and prospective employees. It's a display of ethics and competence.