Why a guy becomes vulnerable with a girl?

I have been a friend with a guy for the past 2 years and most of our friends feel that there is chemistry between us.

I get teased about him by one of the girls in the group but neither of us dared to express ourselves.

Lately I've helped him immensely with his project, when most of his friends refused to do so, which he only told me about it later that none of them wanted to help.

Last week we went for dinner which I've organized with our friends and he was noted to be more quieter than usual, especially around me. He wanted to go for a walk after dinner, but our friends joined us and during the walk he was talking to me about his relationship issues, and why he is not dating based on a bad experience he encountered in the past. He then proceeded to ask if I want to join him for his project premiere.

I said I'm more than happy to do so and I've texted him asking him to forward me the details once it's confirmed after I've returned home.

I also took the chance to ask him if one day he is coming around to my workplace, to text me so we can grab coffee if he has time.

He said he would be more than happy and will let me know when he will be coming.

I know that he has feelings but why he told me about his fears of being in a relationship? Is he telling me an indirect message?

Why a guy becomes vulnerable with a girl?
Post Opinion