When you can’t sleep even though you’re tired, to understand why, you may do well to look back through evolution to a time when people had no access to artificial light.