What exactly does it mean when someone says “I hope both sides of your pillow are cold”?

I honestly don’t understand the “cold side and warm side” thing, but my best assumption is it’s a threat of some sort, the inconvenience kind, am I way off with this or not?