Does your cat recognize your moods?

Our Gabby does not like us to yell. When/if this happens she runs to me and starts meowing and touching me with her paw. She will not stop until we/I do! Then she'll come up and love us.