Sleep Science is ongoing and very much an active area of research. Sleep can be informed by biology, diet, lighting, comfort, heat... among a vast host of other factors. Ask yourself this -- why do you get tired? ("Because I'm sleepy" -- why?)
The answer is (surprisingly to most) complicated and illusive.