Well that was... weird.
I saw several alleged videos of russian frontline units pledging their support for Prigozhin. Combine that with how little resistance wagner faced and Putin might have realized how weak his position is and given in to replacing MOD staff. Not a good look the same day he declared Prigozhin a traitor and promised punishment.
Trading the long-term stability for the short-term. Because now every aspiring russian warlord know that if you don't like something about the state, all you need is just a big enough private army to bully the kremlin, lol.