Your dog follows you but not your husband for several reasons, including imprinting behavior, having a stronger bond with you, seeing you as their one person, perceiving you as their pack leader, learned behavior, your husbands hostile behavior, your husbands smell, and viewing your husband as a stranger.