Edit: Allegedly not.
https://www.financialexpress.com/life/technology-microsoft-c...
"Nadella addressed the recent layoffs, clarifying that the decision was not based on individual job performance. “This is a structural change, not a reflection of how people were performing,” Nadella explained. He emphasized that Microsoft is shifting its strategic focus, with a renewed emphasis on artificial intelligence (AI), which the company views as a key driver of its long-term vision and growth."
Unfortunately, I have never seen a layoff only remove weak people. Plenty of good gets thrown out with the bad every single time. The only signal I take from someone being laid off is that they were unlucky and probably not a total sycophant.
Luckily for leadership, opportunity cost is completely invisible. They can't travel to alternate realities so they can just pretend they made a good decision and go with that. This is what causes the fun phenomena of "failing upwards" we see in modern American corporate leadership.