I’ve read that dogs read your facial expression, voice tone and inflection as much or more in understanding you as they do the actual words you use.
Also, they can smell different emotional states.