Because the human brain is bad at probability and susceptible to hacking.
And on the other like-a-fox hand, the military does have a strong incentive to identify individuals susceptible to developing gambling addictions.
It's cold, but putting them in close proximity to available gambling isn't the worst test...