It all has to do with body temperature. When your body is hot, you are more alert. When your body is cool, you get sleepy.
So basically, anything you can do to cool down your bod before bed will help you sleep.
Turns out, the bottoms of our feet are the perfect tools for cooling down the body. They're hairless and contain vascular structures that regulate heat loss.