Dogs see their owners as their parents; I am sure all dog owners also see their dog as their child. Problem occurs when owners bring home their human child. Like an older sibling dogs get jealous of new baby. Your dog thinks your baby is going to steal all the attention.
Dogs and babies make great friends, but only after they spend some time with each other. You need to give your dog some time. But you can actually train your dog to like your baby, here is how.