You can gamble with anything, to include things that aren't worthless like food, housing, stocks, etc. You can also invest in them. But you can't invest in worthless things.
Is the day trader in your example trading their own money?
Because most traders aren't. They are bank and fund employees with KPIs, risk management oversight, massive support functions and very expensive computer programs.
Retail investors that are day trading on the other side of those professionals are absolutely gamblers though.
I think most people who day-trade would call themselves "investors" but it seems precisely like gambling to me.
Can trading stocks be both "investing" or "gambling" depending on how you approach it?