The right way to handle layoffs

In recent times, big tech companies have been getting a reputation for their inability to fire their staff gracefully. Due to an economic slowdown, they have been forced to conduct massive layoffs but choose to do so in the worst possible ways.
Klarna, a fintech company, cut loose 10% of its workforce through a prerecorded video. They did not make it clear who was leaving until two days later. Another business, Better.com, fired hundreds of people in a single Zoom call accusing employees of “stealing from the company” because of low productivity.