Did I unknowingly hurt my friend or is something else going on?

I have known him for 7 months and we've been friends for 6 months or so. He's a genuinely kind and empathetic person, is very respectful and has a great sense of responsibility. He's slightly older than me and is quite emotionally reserved. I respect him a lot and have never said or done anything that would cause him trouble. Now, he used to be really kind to me in the beginning. However, something changed in December, all of a sudden he started ignoring me a lot, won't reply to my work related texts, would act weird in person. This ran for two weeks. I thought he disliked me suddenly and distanced myself. In January he one day approached me and looked really really eager to reconnect. In fact the attempt was very earnest, he did his best to make things normal. But things don't feel normal anymore. He gets very tense and quiet the moment he sees me, goes to washroom or out somewhere and comes back with a more neutral expression. While talking to me in public he avoids eye contact, tugs on his fingers, looks at the wall or the floor and talks with utmost seriousness. But gets kinda comfortable in person. He talks to me every week anyway. I talk to him as gently and calmly as possible but I don't understand what's the matter. Did I offend him? I tried asking him but he avoided the topic.

Did I unknowingly hurt my friend or is something else going on?
Post Opinion