Koeman lost the dressing room after the board deeming him to leave.
Who can forget the hostile media shitstorm he had.
Xavi has the full support of all stakeholders right now. Even if results were the same (they're not) he would still be doing a better job.
Purely for being in the right place ar the right time.