I just don't get why gambling is so attractive to some people.
Short answer: Some people are just hustlers, always looking for the get-rich-quick scheme.
Long answer: You must first distinguish between the recreational gamer who plays games of chance, and the habitual gambler who is looking for a pay out. There are marked differences. I am an avid poker player. I love getting together with a group of friends for an evening of playing cards, cracking jokes, all lubricated with our favorite drinks. I once had a job where it was just what we did. At least twice a week, there were get-togethers after work to play cards. It was a medium for socializing and was something to do. Some friends spend $30 a person to grab dinner and a movie for 2 1/2 hours of entertainment. My friends and I would spend $30 a person to grab some drinks and play cards for 5-6 hours of entertainment. If you came out of it with more money than you started with, that was a bonus. My co-workers of the time were recreational gamers, and poker just happened to be our favorite game.
As for the habitual gambler, there are legitimate psychological elements that create the "draw" for gambling. Basically, it comes down to the emotional experience of the event, which can become addictive. In many ways, gambling is an equivalent emotional experience to watching a great movie. The tension and longing of waiting to see if you've won the jackpot is really no different than the anticipation to see if Apollo 13's heat shield survived reentry. The excitement of getting a win is the same thrill you get from hearing Tom Hanks' voice say "Hello, Houston? This is Oddyssey." In both cases, a build up of adrenaline and release of endorphins creates a pleasurable emotional experience. It's an experience we often seek to recreate, whether by going to see a new movie that looks to be promising, or re-watching Apollo 13 for the 100th time, or simply going to Youtube to watch the final clip because it gets you every single time. In the case of a habitual gambler, they are trying to recreate the same thing. But in their case, they have a further rationalization to pursue it to a much greater degree. When you re-watch Apollo 13 you enjoy the experience, but there is no extrinsic value of the act to the rest of your life. On the other hand, when a habitual gambler attempts to recreate the emotional experience of a big win, there is a [theoretical] extrinsic value to his overall life, i.e. the monetary payout. Thus, the act of gambling roots into the person's emotional core as well as their survival drive.
Of course, there is a third category which is where I actually fall: Amateur and Professional sport gamblers. We play for enjoyment of the game, but we also play to win and take home some bacon. The main thing that distinguishes us from a habitual gambler is that we're not really gambling
per se. We take an approach to the game that generates profit. The "gambling" is merely a means to an end. We're not in it for the rush of gambling, typically. It's much more a risk/reward assessment, more typically in line with a decision made on Wall Street, where skill and knowledge are exercised and dumb luck minimized. One of the primary skills that sets us apart is our skills of managing our own emotions. By maintaining as great of an emotional detachment as possible, and then managing the emotions we do experience during game play. We don't look to get lucky, we look to exercise superior skills. Luck is just an unforeseeable challenge that occasionally befalls us all.