Is it because he was expecting to be made the captain for one more WTC?
That said, a great career comes to end, after the last two series debacle, he was clearly on the decline and this is a better way to go. England series would have been very tough for him and woukd have further dented his legacy.
I hope this gives enough fuel and drive to both Kohli and Sharma to try for WC 2027.