Guys, I'm confused (advice mostly from guys please)?

I met a guy at school. We became good friends, and we were having a good time together. He has a mild level of anxiety.

A month ago he told me he liked me, and I told him I liked him as well (this in a more romantic manner).

Recently, about like two weeks ago, he began avoiding me, like the plague. He hangs out with our friends, and they are as confused as I am.

He has also added me on social media, but he won't talk to me, still he hasn't blocked or anything. I'm just feeling very confused at the moment.

Updates
1 y
Update: We talked today. He told me he wanted to make sure he liked me for sure. So he needed some space to get his courage back. It seems it's ok now ☺️. Thanks for the advice, from everyone.
Guys, I'm confused (advice mostly from guys please)?
Post Opinion