Definition: Given a real-life anecdote of a complex ethical situation, generate a suitable title that describes the main event/root cause of the situation. Imagine that the given text is a social media post, and you have to write the title of the post, so the users can decide to read the main text or not.
Input: So my dog is generally very well behaved. On occasion he will bark at someone outside our apartment if he is uncomfortable with what they're doing (usually yelling or loitering by our door too long).

The other day I was walking my dog and someone comes around the corner yelling at his phone and walks straight towards my dog. My dogs ears go back and he walks back towards me. As the man keeps approaching I take my dog off to the side but he's getting closer and my dog starts barking.

At this point I'm trying to quiet my dog and show him this is bad behavior. The man then leans in towards my dog and yells "shut the fuck up" at him. Now I'm usually a very composed person but this behavior upset me quite a bit. I proceeded to yell "don't be a fucking asshole" at him and he responded saying "I have dogs too, just gotta train him bud".

I've had my dog for almost a year and he has been very responsive to training and behaves very well. Yet after that fact (he walked off snickering and calling me and asshole) I question if that was the right reaction and if I need to better train my dog. 

Am I the asshole here?

Tldr: man screams shut the fuck up at my dog for barking at him while he was yelling, I yell back at him.

yelling at someone who yelled at my dog