Dogs are pack animals and from birth are accustomed to seeking out the warmth and comfort of their littermates. This is why dogs often try to crawl into your sleeping bag or bed.