Lotteries and casinos are recognized as a form of entertainment - gambling - people may not behave rationally and they may end up ruining their lives, but there is a certain folk wisdom that gambling just loses money and you shouldn't do it (except for fun).
Investing has different norms and expectations. Few people think that financial analysis is "fun" in the same way that going to a casino or buying lottery tickets is fun - so the "entertainment" value isn't there in the same way. But many financially unqualified people will be bamboozled by con-artists who take advantage of the apparent "respectability" of investing.