Compression (rubbing) of the eyeballs can slightly lower your heart rate, which is called the oculocardiac reflex

source