Sunlight decreases melatonin production during the day to undetectable levels, and waking up earlier and getting sunshine can give you energy and help you have an earlier bedtime.
Caffeine consumption can also cause increased production of cortisol, which is our primary stress hormone produced naturally in the morning to wake us up.