In this case, the union could be forcing better treatment for the people laid off (notice, severance, timing, etc.) and also the people staying (no “do your job and your former coworker’s or you’re next”).
And they typically do them worse, e.g. purely by seniority.