Oh, do you mean he's doing the karate hand? That's totally normal! Does it look anything like the photo below?
They will do the karate hand when they feel threatened or unsure, so it may be surprising him to get sprayed and he lifts up a hand as a defense position.