The decision makes sense to me. A big reason to deny a clearance based on finances is because of an increased risk that one’s precarious financial situation can be more easily leveraged by adversaries to convince someone to sell government secrets. A gambling problem, whether it is the subject or the subject’s spouse doing the gambling, seems like the proverbial, classic, high risk case.