Most anti-gambling laws require the digital goods to be exchangeable for money in order to qualify. In other words, DI can claim to not be gambling because all outcomes in the rift are equally worthless, financially.
Some countries are starting to change their laws to factor in that these digital prizes are perceived to be valuable by players despite not turning into money.