When I saw layoffs at a small company (i.e., you could know all the engineers in the company) you could have probably guessed who they would have been by how well they seemed to perform. When I saw it in a big company, not much rhyme or reason tbh.
Which "makes sense" since companies usually try to keep the team deciding who to lay people off very small for fear of leaks. So the n people at a small company making the decisions might know everyone but the same n people at a large company might barely even know the names of all the middle-managers much less all the individual contributors and how well they are each doing within their role.
Yeah, it was a bit of a surprise at first (not least because I was included, haha) but you’re right.