Sounds like he wants to irritate you. Odd behavior, and as you say, very childish.