i dont know if its an adhd thing but i get this too when im feeling overwhelmed or anxious about a task i get overwhelmingly sleepy sometimes it helps to just take a nap to reset my brain and try again