What does it mean when a guy likes it when you're mad at him?

help a sister out please haha..
note: this guy is a pretty good friend of mine but lately we've been kinda flirty and he has told me he likes to tease me and piss me off.