So this happened and i need advice

So in the beginning my initial question stemmed from a Facebook post, and things were cool. Later that day we went to library (thats kinda our thing). During our walk back to his place he said something dumb I don’t remember what it was. So just playing i was like nope i don’t know you anymore and walked on the curb (he couldn’t walk next to me there). Then he said something else and I responded “i dont talk to strangers”. He turns and storms off, granted i already have to speed walk to keep up with his normal pace. Seeing that he isn’t slowing down i just slow down to my normal pace. He had to stop at a crosswalk so i was able to catch up to him, so he asks am i talking to him now? I shrug my shoulders and idk what you talking about. By this time we’re able to cross the road and he rolls his eyes and storms off again. This time im livid, because why are you acting so childish I literally did nothing... so a while later he sits on a bench we make eye contact ( I probably rolled my eyes... its a bad habit) and continue walking. When im closer to his house i look behind me but don’t see him. (Now I usually park at his apartment lot because its only a 20 walk from my job) so i cross the street and he pops out from nowhere, my guess he caught an uber the rest of the way and let me walk. And just says so you’re not coming over? I cooly said no got in my car and went home.

Im not really sure how things turned left