Wales-Bales in 'I can't work things out' shock!
Let me help you because I (and many millions of others) have worked it out. He was dethroned because a majority of self-interested (and certainly not principled) Tory MPs decided they would lose the next election (and their own seats in many cases) with him as leader.
They were using the latest opinions polls, not a Klaus Schwab checklist, to make that decision.