Guy friend acting weird? Input appreciated!

So I've got a guy friend (mid 20s) that behaves weirdly with me a lot. Sometimes he'll talk to me when I see him, sometimes he's kinda moody. I noticed that he tends to do random stuff to get my attention. We don't really text a lot, and out of the blue, he texts me, ragging on me about something.

I saw him one night at work, and he was kinda quiet at first. I joked around with him and got him to open up and he was himself- joking around and all that. Later that night, he messages me online with something absolutely random, and signs off.

Since then, he's been commenting a lot on my statuses on Facebook, joking around/picking on me. He'll also comment toward my replies to any mutual friends' statuses as well (dun dun dun, he's following me around FB! :p).

Is it just his personality and him just joking around with me? He doesn't really keep in touch often, minus Facebook, he doesn't text me, and we haven't really hung out in ages (we didn't really speak/hang out much for a year due to a fight). Otherwise, I'd think he liked me a bit or something. Just wanted some guys' insight on the situation. I'm curious.
Updates
+1 y
Whatever his deal is, I'm over trying to figure it out. He's been acting like a grade a douche and I'm over being nice. As far as I'm concerned, he was just playing games and getting off on reactions. He refused to tell me why he randomly unfriended me.
Guy friend acting weird? Input appreciated!
Post Opinion