This has been going on for decades and Blizzard started using it almost exclusively with World of Warcraft. They made the game a virtual Skinner Box (look it up and read about the experiments if you’ve never heard about it, pretty much animals will prefer to do things that lmao derive pleasure from instead of necessary things, like eating), and other companies followed suit. Then loot boxes and IAPs became a thing.