Why are loot boxes restricted by law in some countries?

A. the mechanics are similar to cosmetic upgrades
B. the mechanics display odds in advance
C. the mechanics are similar to gambling
D. the mechanics involve game currency

C. the mechanics are similar to gambling

Loot boxes have been compared to gambling because players spend real money for a chance to obtain virtual items of varying value. This has led some countries to enforce restrictions on loot boxes due to concerns about the potential harm they can cause, particularly to minors.