Rubbing an injury right after it happens alleviates pain because the spinal chord preferentially forwards pressure signals (to the brain) over pain signals.