Do you know how did your dog knows about you?
Your dog know about you through your energy not by your name, career or personality.
what you think create an energy and this is how your dog know about you.
Simplify it this way, your energy effect your dog, when you are calm, your dog would would be calm.
When you are hyper your energy would effect your dog to be hyper.
Always maintain calm energy, High energy dog would always show bad behaviours.