I think that he was meant to have fallen out with Cristano Ronaldo, so Ferguson had to decide between them who to keep. Perhaps him leaving Real increases the chances of Ronaldo going there then.
reason was he fell out with ferguson because he dropped him in carling cup final. Ferguson was not happy way ruad was acting so he sold him.