My theory is that RTO is a way to reduce headcount without having proper layoffs and severance.
Except that the first people who would leave might also be the good experienced engineers, but that loss is a little hard to see on paper at first, to predict and so it doesn't get accounted for very well.