That's what's reported here too (what he said after leaving). I guess we'll know more details of what happened in the following days.
What I know is that Guardiola has very little time for "babysitting" players, and that he is MON-esque when he gives up on a player (Hleb, Henry, Zlatan...). Guess it's one of his flaws.