That is because it is in their nature to sleep in a pile on top of each other and it's when they feel most secure and comfortable - snuggled up against their littermates.
A recent survey found that as many as 50 percent of dog owners let their dogs sleep on the bed.