Kittens do that with the mommy cat's belly to stimulate the milk production of her mammal glands. Later, in their adult's live, they would often do that when they are on a soft surface, like a bed, and I guess it's bringing back the memory of being comforted and being cared for.

Kirsten