Is he being a friend?

I know this trainer from my gym And he is so lovely we click very well

He kind of listened to me and what I’ve been through the past while from work to my Ex boyfriend

then I was leaving he put his hand on my shoulder and asked me if I wanted a hug and gave me one

does he want to get close?

Is he being a friend?
Post Opinion