I’ve been working at the dog park lately, which has given me more time than I expected to watch dogs—and the people attached to them.

A boarded dog arrived recently. Most of the day it whines, paces the room, or lies by the door, watching for someone to come get it. The bigger issue is its owner. Whenever they are together, the person talks at the dog almost without pause: when to drink, how to play, whom to play with, constant instructions.

A person who keeps talking to a dog and a dog who keeps whining at a person are doing something similar. Both are demanding immediate attention. Over time, this is a reliable recipe for a dog with separation anxiety.

The whine is pitched at a frequency that is hard to ignore. After a while, a human feels compelled to respond, then feels sorry for the dog, then—as I did—feels annoyed. The annoyance resembles what I feel when I hear a baby cry. But a baby’s cry is designed to make adults notice a need quickly. I haven’t been through childbirth, so my oxytocin isn’t doing whatever it does for parents.

There’s an odd loop here: a dog that whines for attention can keep a human’s oxytocin elevated, and that hormonal response helps bind the two together.

It sounds like a dog story. It is also a human one.

If you live with an animal, you may have noticed yourself slipping into a soft, high voice, maybe even repeating silly diminutives. Science has a name for it: pet-directed speech. It resembles infant-directed speech, the voice adults use with young children. Both differ from ordinary adult-directed speech in pitch and rhythm: higher pitch, wider pitch swings, shorter utterances, simpler syntax and vocabulary, more repetition. Pet- and infant-directed speech are sometimes called ‘happy voices,’ while adult-directed speech tends to be more emotionally restrained.

In plain terms, this voice is a language system adults use with babies and animals; it helps build emotional connection and encourages verbal exchange. Pets don’t have language, so they use whines and barks to make requests. In effect, a dog is also using a kind of vocal system to construct a bond with humans.

In this case, though, the dog isn’t mine. Its whining doesn’t trigger anxiety or care in me. It triggers irritation.

The same voice shows up in romantic relationships. People in the early, infatuated stage may coo, use baby talk, or adopt a playful, wheedling tone with a partner. Underneath, it’s another attempt to establish emotional connection through vocal cues.

That can create the human equivalent of the pet’s over-dependence, and with it a kind of separation anxiety. Human anxiety is usually less severe because language lets both people clarify what they feel. Dogs and humans can’t do that, so the anxiety simply accumulates until the human has to pay attention.

With a dog that has separation anxiety, the usual advice is to ignore the whining so the animal learns that the behavior gets no response. That advice should not be turned around and applied to children. If an infant’s needs are ignored, the child may develop a fear of being abandoned.

The dog in this story has learned that every whine gets an answer from its owner. Which raises another question: what happens when a person’s unreasonable demands are always answered?

There is also the question of who depends on whom when humans keep satisfying a pet’s emotional needs. The core is relatively simple. More often than pets needing humans, humans respond to pets because of a belief: it needs me. If that belief is exposed, the bond can snap, and the person’s sense of existence can take a hit.

Something similar happens when one person becomes intensely dependent on another and disguises it as ‘he can’t leave me.’ The emotional binding can become suffocating; eventually the other person may flee. That, in turn, denies the first person the very feeling of being needed that they were trying to secure.

In any relationship where neither party seems able to leave the other, the interesting moment comes later, when one of them realizes that the need was just a whine they had been answering in their own head.