There are many reasons why dogs like to be clingy. One reason is that dogs are social animals by nature and they enjoy being in contact with humans and other animals. Dogs are also affected by their moods, and if they feel lonely or anxious, they may become more dependent on their owners for their companionship. Additionally, dogs may be clingy because they feel they are part of the family and want to protect their family members from harm.
There are also some dogs that are clingy because they have a natural protective instinct and they want to protect their family members from danger. This behavior is more common in some protective dog breeds, such as collies or Labrador retrievers. Overall, dogs like to be clingy because they are social animals by nature and can sometimes be affected by their emotions. They may also have a natural protective instinct and want to protect their family from danger.