Gambling and other addictive process can lead to marital disharmony. If the one who is gambling does not control their habits to minimal limits the partner will feel left out and not given attention or find money being spent on gambling rather than needs or even being asked for money.
Indeed from the side of the partner this is a bad thing and hence these problems.
Some spouses will just accept it and adjust with their spouses habits. But money problems cant be solved. Hence I dont blame anybody for such divorces, rather the burden is on the gambler to adjust.