Guy friend got mad at me for no reason?

So me and a recent guy friend are really close, we joke all the time and just be retarded and such. We're also very used to name calling and swearing at each other, he also texts me all the time everyday. A week ago, I jokingly said he's an idiot and he shouldn't talk to me anymore. And he just texted "me fine I won't text you anymore or reply to your texts" and he did. I texted him the day after and he did not reply. I probably won't see him until next week or something. I don't understand why he got angry? He knows I was joking, there's no way he wouldn't know that. I even saw him that day and everything was fine until the text.

Any ideas?
Guy friend got mad at me for no reason?
Post Opinion