Guy friend problem

Hayley

So there was this guy that I met in my gym class Bc for that classes attendance he had to stand next to me and we got closer after playing a game in gym. The day after we played the game again and he flirted with me and he ended up asking what my name was and whenever I saw him in the halls he would say my name and smile at me. Then after not seeing him for the week bc of midterms I finally got to see him for gym/health classes midterm and he walked over and asked to walk with me to the class and he sat next to me. Then after winter break he talked to me a lot in gym and ended up asking if I wanted a juul I giggled bc I felt awkward and said no. Then I heard him go “ I feel stupid now” and ever since then he stopped talking to me but I catch him looking at me when I play volleyball in gym and he makes eye contact with me a lot and sometimes turns and smiles. He sometime acts dumb and asks if his spot is next to me and I tell him but he doesn’t really talk to me anymore 😕 why?