I think anyone that's been confronted by a pissed off ball in shed knows that they do have emotions... LoL.
My opinion: It's just instincts for them. They aren't pissed that you're bothering them in shed, they're just more defensive than normal because they're more vulnerable and are scared of you.