You should be giving constant feedback; firing should not come as a surprise. And if someone is not delivering, the people who depend on that output will know. Totally unrelated people should reserve judgment.
There were 30% layoffs at a company I worked at and one of the 'survivors' was so traumatised by it that they took their own life. It's a known phenomenon: https://en.wikipedia.org/wiki/Survivor_guilt