Oh my goodness!! That is absolutely insane! But at the same time I couldn't help but laugh inside....Your humor to this is great. I have never encountered anything like that, and i hope I don't. Maybe it was a female and it had babies near by, and she was using her instincts to chase ya'll away?
Anyway, I'm glad you didn't get sprayed, otherwise it would have been a tomato bath for the both of you.