Of course! Dogs are so sensitive to our feelings. Cats too.

My grandfather collapsed at work the other day and now he's in the ICU on life support. Toby (my cat) was sooo affectionate that night. He knew!

I'm sorry to hear about your cousin.