One of the first things to read about would probably be Circadian rhythm
Circadian rhythm is the natural rhythm that is found in most living things. In humans, this rhythm is controlled primarily by a couple different factors that that article touches on.
Most likely your natural clock is just set a bit differently because of past habits. Your internal clock, for instance, could shift slightly over time as you tend to change the times when you typically go to sleep or wake up.