what's the deal with morning wood?

I’d heard/read at some point during my college years that your body did some sort of self-diagnostic thing. Just fired up various functions to see if they still worked.

Legs - check.
Arms- check.
Boner mechanisim - check.

Makes sense to me.