text: sounds like he's pretty immature.  But you need to be the bigger person.  If you know he's doing it just to irritate you, then do your best to ignore him, or change the subject... or... in the middle of him being irritating, just ask him "why?"