It's called over stimulation. Sometimes cats want attention but only a little. Once they've gotten what they want, they can get aggressive. Just rip your arm away and say NO!! very firmly and walk away, or use a squirt bottle. He'll learn.