In the morning mans testosterone is high even before he wakes up his testosterone is at his peak. That's because the pituitary gland -which governs the production of the male sex hormone -has been switched on in the night and levels have been steadily rising until dawn which likely encourages those nightly erections.
Thanks to a friend of mine this is something new!
This may relate why PE could be harmful at night when sleeping.