circadian rhythm
Circadian rhythms are physical, mental, and behavioral changes that follow a 24-hour cycle. These natural processes respond primarily to light and dark and affect most living things, including animals, plants, and microbes. Chronobiology is the study of circadian rhythms.
If you're tired but can't sleep, it may be a sign that your circadian rhythm is off. However, being tired all day and awake at night can also be caused by poor napping habits, anxiety, depression, caffeine consumption, blue light from devices, sleep disorders, and even diet.