For the people getting fired it certainly is, I used to think this was true of people doing the firing but my recent experiences have changed my view on this dramatically.
I've had the misfortune of working at two places in a row that almost delighted in firing people. My experience at both places was that the firing had far less to do with skill or capability in the role, but moreso using the Amazon/Netflix model (by people who have never worked at either of these places) to justify removing anyone who is in any way critical of the organization.
Earlier in my career the only people that got fired where ones that clearly did not contribute and where a source consistent pain for the rest of the team. Reasonable questioning of team direction and goals, and organization objectives was practically expected of good engineers.
In the past few years I've seen repeated cases where valued members of the team that were respected for both their technical skills and personalities were removed because they questioned some of the decisions of management. One organization made particularly sure to smear any of these previous employees, and used them as examples to threaten anyone stepping out of line.
I've been in situations where a team member is weighing down the rest of the group, and as frustrating as that can be, I much prefer it to the completely inhuman culture of firing I've seen becoming the norm at more and more tech companies.