If that's the view of people then the same could be said for Kinder eggs, Pokemon cards (when they were a thing), football stickers, and so many other things. Where are the cries for regulation/banning of those things? You pay money and are guaranteed to receive something in return. It might not be what you want but you are paying for something and getting something in return
Because those are the product. They're not misleading you. They say on the packet what they are, and say, for example, with a Kinder egg, you know you're buying a chocolate egg, and its got a toy in it. That's it. You know exactly what you are paying for when paying for them. If you can't understand why loot boxes exist to solely perpetuate and facilitate a type of addictive personality trait, i.e, like you find in a gambler, then I don't know what else to say. There is literally zero good about these things. It's inexcusable, and it's borderline criminal. What's even worse is that this isn't some tacked on thing that developers and publishers are just shoving into their games as an afterthought. They bloody well know what they are doing, and as such, that impacts on how a game is actually designed. Don't be under any illusion that this shit is harmless, or that it can just be brushed off as "yeah, I can just overlook that and crack on with the game." The game itself has deliberate elements in there that are designed to cause that microtransaction itch, so that you'll inevitably just want to scratch it by dipping into your pocket. It's usually in the form of a insufferable grind, or in Battlefront's case, an ass whopping by some 10 year old who's ma has given a weeks wages to so that he's guaranteed to keep killing you without any real effort.
The insidious thing about these crates, boxes, whatever they fuck they are, is that most of the stuff in them is absolutely fucking pointless. They are either cosmetic, or the loot by themselves aren't worth a fuck, unless, - and this is the kicker - you shell out enough money to buy enough of them to accumulate the most common items found inside them, which is usually some form of virtual currency. The inclusion of that piece of shit scheme in games is just another slap in the face to the consumer, and another bit of evidence in the argument towards why it can be classed as a form of gambling. If there's a chance of winning one of these items in a crate that would take 100 hours of gameplay time to acquire, and you don't give a shit about anything else in the boxes, then it's a gamble, because in a gamers mindset, especially when it comes to online competition, the aim is to win. It's fueling an addiction.