So are slot machines and the like...
Trading isn't gambling if you know what you are doing...you can place the odds in your favor. That won't ever happen in a casino.
FWIW-
Actually I read the patterns well in certain brands of slots and earn about $150 an hour when I do that seven times a year.
The stock market is 100% about perception. It is not always reality based at all.