Loot boxes operate on variable-ratio reinforcement, the same reward pattern used by casinos. You don’t know when the rare item will appear, only that it might—maybe on the next try, maybe in fifty.