That's what I tell people walking their dogs when they apologize or even get mad at the dog for barking at me, I tell them that the dog is only doing what they do, and that is protect their own from a stranger. I apologize for accidentally riling the dog up.