There is differences between trading and gambling, they share a commonality in potential losses, that's why some people see trading as gambling. But they are fundamentally distinct.
But to the best of my knowledge, they cannot compare trading with gambling. Trading involves investing with analysis, strategy, and risk management to achieve financial goals. In contrast, gambling relies on chance and luck, and speculating money for excitement. Despite similarities in risk, trading's analytical nature and economic purpose differentiate it from gambling.