Yeah, I’m pretty sure it’s an adaptive trait, just one that isn’t useful anymore. It wouldn’t be good for everyone to have ever, but it probably was useful for some people to have. Just like most people are more awake during the day, you’d want some people awake at night to keep everyone safe, so we have “night owls” who are maladjusted to the typical work hours we have today.