I had a dog, when I was young, who watched eyes to know when the person was looking at it.
You could have had your head very turned away from the dog, but when you glanced at it, without turning your head, it knew and reacted by wagging its tail.
I had a dog who taught herself sign language when she went deaf in her old age. She was so good at it that it took my neighbor to point out that she was deaf.
I’ve noticed the same thing. I’ve tried to fool my dog and she catches me. :)