Internal power struggles are a sign of weakness. Putin does not like to appear weak.
Now while it certainly has staged elements, the power struggle between Wagner and the regular army is very real.
But the outcome hopefully will actually lead to ending the war (blaming it on the Wagner traitors). Or worst case, all out nuclear war.