This can be a very tricky question to answer.
Yes and no with gambling you have some idea what your up against.
In trading well it can be emotionally driven or be powered by speculative investment in things.
Which if they get scared well you could lose a lot of money ive seen it happen many times.
Well it can be said easily with, it depends on the person who is trading. If the person is trading blindly, meaning that person does not have any knowledge about trading at all then it is considered as gamble. He is betting on his luck in buying random stocks and wish it increase in price.
Trading baseless will sure make you gambling there on price
Simply there is a contrast difference between both thing
And people usually think that trading more reasonable to earn money
Compared to gambling that mostly uncertain.
With that way of trading then it is better to gamble at all, at least in gambling you will be able to have fun and you still have a small chance to win. Trading should be treated seriously as it is one of the most legitimate way to make money online, you have to study the basics and always carry our your plans by strictly following it.