Dogs react to their owner's mood.
When the owner is sad, a dog might come close to comfort them.
Animals respond to our emotions and adjust their behavior.
Cats might rub against their owners or sit on their laps.
This is a way for cats to show affection.