i don't know if this has been said before, but i'll say it now.
erections are caused by blood compression in the richard. doing activities that normally require increased blood flow (ie. running) will most likely decompress the blood that's pooled up inside your shaft.
oh, and if you have a boner for too long, a vein can burst.
scary stuff, man.