Why didn’t he give me a clear answer after I confessed while he had a girlfriend?

So i liked a boy for like 2 years. We didn't talk. Then few months back i confess to him through his close friend. And his reply you all know now. He has a girlfriend now. But I wish he should just have directly said no. It hurts tbh. we both like in different universities. But like back then moment happend eye contact. One day we had common class and he sat in front of me even though all rows were empty. Whenever I used to walk by he used to look back at me from other class. his friend used to tease him with my name. I just wish I could have got a clear answer. Even his friend via whom I confess that when someone doesn't appreciate you just leave. ... I think I made a joke of myself. Then I don't know out of nowhere his friend started telling how his girlfriend is controlling and he ( his friend not the crush ) keeps distance. I was like wtf why you telling me all this. I have moved on tbh but still i wonder don't I just deserve a clear answer.

Updates
12 h
Reply was what can we even do now
Why didn’t he give me a clear answer after I confessed while he had a girlfriend?
Post Opinion