If you don't sleep you get sleep deprivation effect which lowers your XP every hour until you sleep, that's why.