This is a big part of it, which true some people get burned and lose money. But that doesn't mean they shouldn't do it. In fact, I'd argue it's slightly healthy to have a little bit of skin in the game to understand how these things work. If you're into numbers, it's nothing more than a game or say fantasy football and you can cheer for your favorite players (companies).
Robinhood presents a nice way of making it easy to get into the stock market with a pretty interface and without going through a cumbersome broker and paying fees for things you don't understand. Do seek professional help if you are looking for 401k and retirement guidance.
If anything, RH is sophisticated gambling.