I have seen one interview of a former gambler and what he is saying caught my attention. He says that "when you're winning you can't sleep". I'm not sure if others have experience it or if this make sense. In any case though, one explanation is that we are really in a heightened alert, meaning it's like gambling is like a drugs that keeps up alive and awake and then the human emotions of greed takes in as we want to win for. But the problem is that after that, and in worse case if our luck turns bad, then this drug will like shoot to 100->0 in a instant. Or like when we are about to go to bed and suddenly that inch comes along and let's say that we go on sports bet, but the game will start in the next couple of hours, then we might have difficulty in sleeping and as if we take like 4 cups of coffee or a energy drink because we will for sure can't wait to see that game and hope that our stakes is going to win.
I have definitely had this feeling before and think it is true for all people, some are just better at controlling these feelings than others. There is quite a potent mix of chemicals that our body can release for different reasons and when you're on a winning streak you'll constantly be hit by that happiness "reward" endorphin. In the same way that a junkie chases their next high (but they receive way higher addictive hits), we have a tendency to repeat things that will make us feel good. It can often be merged with other things like alcohol or caffeine which can interfere with our need for sleep as well. Altogether it produces quite a big buzz which can even occur when we are on losing streaks - but just replace that happiness with anger.