It's gambling at the core that's the issue here. We used to have robust regulation of it for decades (and it was recognized millennia ago that gambling is bad for societies anyway), the problem is that the global gambling industry moved far too fast for regulations to catch up - and now we're at a point where children, even toddlers are getting lured into gambling mechanisms. It's all lootboxes nowadays.
Personal take on it: that's all just preparing children for the inevitable fact that everything from education over employment and housing to dating is mostly depending on luck...
Agreed. Gambling laws are stuck at the notion that you need real cash payouts for an activity to be gambling when psychologically a database entry with enough lipstick can be just as enticing.