Both of them have a risk of loosing money but trading seems to be better then investing as investment sites are turning scam in long run so we cannot expect any returns from there so its better to go for trades and start making small profits and after spending enough time on trading sites we can increase our capital slowly and steadily to gain higher profits.
Yes, Investment sites are easy to earn as you will get passive income but threat is that they can scam anytime.
Trading, on the other hand, involves no risk of scam but need experience and mind to make more of a profit.
I think both of them suits to the different skill set of people.