stock trading isn’t inherently gambling if you use proper theory (although it CAN be if you just buy random shit). being able to swing trade on whether a stock will show good earnings is a skill, not luck.
prediction markets are 10000% gambling though