Do you fluff your pillow before you lie down? This dachshund does. In fact, he makes sure everything is 100% exactly right before he curls up to go to sleep.
How did dogs learn how to do this? There are no pillows in a state of nature. Adapting so well to a human-centered environment suggests a high level of intelligence.
I wonder if Adam and Eve had pets.