Many people use gambling as an escape to relieve stress from certain problems, hoping it will make them feel happier and more relieved.
And returning to the initial discussion about why someone might return to gambling after previously deciding to quit, I suspect that the person may be experiencing difficulties or problems that are truly burdensome, causing stress and depression. A situation that could remind them of past behaviors that led them to gambling as an escape from stress. I also suspect that the same reasons may have led them to return to gambling. However, instead of making them feel happy, gambling actually becomes an addiction, which further exacerbates their stress and depression.