It’s honestly probably not that evil.(generally. There are definitely evil orgs out there)
It’s just the easiest way to make the stock price go up.
Layoffs caused twitter to bump in price. Same with Microsoft when they laid off all those game devs.
C-suite don’t care about profit or losses in tech, just the stock price.
In the 2010s, hiring devs increased stock prices. In the 2020s mass firings do.
It’s just money. Simple as.