I confessed to my friend that I find him attractive, but now he is ignoring me, why?

I confessed to him that I find him attractive, I thought he may like me as well since I sometimes felt he was low key flirting with me, but no, he told me he doesn't like me that way, that he is finally feeling peace after coming out from a painful break up, and that he doesn't like anyone. I told him I only found him attractive, but that I was not in love, and I asked him to not treat me differently now, and he agreed. But the problem is now he is actually treating me different as he is now more distant to me, even tho he told he wouldn't do that. Why the change? Is there still hope for the friendship or I ruined it? What to do now? And what could be going on in his mind?

I confessed to my friend that I find him attractive, but now he is ignoring me, why?
Post Opinion