Understanding the psychological factors that drive gambling behavior