Most Helpful Girl
He most likely did it because your ex was too afraid of what your answer would be if he asked you our himself. Your ex probably realized he lost someone he liked or loved dearly and wants you back and asked his friend to help you two get back together.
Its either that or he's trying to play a trick on you. I recommend talking with your ex about this and see if he has fallen for you again.