We have recession, inflation, a game pass that has been operating at loss from what I have read, a gaming console that hasn't had a massive system seller since the 360 days and a new version of its OS that has abysmal adoption partly because it has many problems and partly because they have locked out of upgrading to it a sizeable portion of pc people because they have to buy a new system in the midst of the aforementioned recession and inflation and with many parts still having crypto boom/scalper prices
most people won't just throw to the rubbish their perfectly fine pcs because microsoft said so
and because of all this, I am not surprised that they have to lay off people, it's sad that common workers pay again for the incompetence of the higher ups but it is what it is