Because the brain processes and stores your skill when you’re sleeping. If I had a dollar for every time I spent hours trying to take o a boss in Dark Souls only to say, “fuck it, I’m going to bed,” and wake up the next morning and completely mop the floor with said boss(es), I’d have....I dunno...maybe like $23?