As far as I understand and according to the rumours, Juventus did not sack Allegri because the compensation they had to pay was too big. As we know that Allegri is still under contract with Juventus until June 2025.
In addition, Agnelli also told the media that Juventus' poor performance this season cannot be blamed solely on Allegri, this is a problem for the team and the board of directors, so they will try to find the source of the problem and restore their spirits. Their game against Torino could probably be one that will prove how, and how far they have recovered.
I'm not sure if that's a good reason, because if Juventus lose their place in the Champions League next year, it will cost a lot more than any compensation for breaking the contract with Allegri.
All in all, I think that the game against Torino can confirm my suspicions - if the players want Allegri to be sacked, then we will see some amazing result.