According to this article
https://www.mayoclinic.org/diseases-conditions/compulsive-gambling/symptoms-causes/syc-20355178#:~:text=Gambling%20can%20stimulate%20the%20brain's,fraud%20to%20support%20your%20addiction.
Gambling can stimulate the brain's reward system much like drugs or alcohol can, leading to addiction. If you have a problem with compulsive gambling, you may continually chase bets that lead to losses, hide your behavior, deplete savings, accumulate debt, or even resort to theft or fraud to support your addiction.
And this article
https://www.highspeedtraining.co.uk/hub/why-is-gambling-addictive/The brain becomes conditioned into wanting more and more to trigger its reward system
So we can say that gambling can stimulate the brain, especially if we can win many times. It happens to those who only want to enjoy gambling or know what gambling is in the real term. They start placing a bet on the games and as they are new in gambling, maybe some of them get lucky by winning for some money. At the end of the games, their brain receives the vibration about gambling to win more in the next days. They will come to gambling games again, whether they will come in the next few days or weeks.
If we do not block the stimulation on our brain, we will be back as soon as possible to have another "good" experience in gambling. But when we lose, our brain will get a new vibration that we still have the other opportunities in the next few days, making us come back repeatedly. Maybe the psychiatrist can explain more details about this as I cannot explain further.