Another question I can answer with my favourite Dan John quote, ready?
It depends.
DOMS (delayed onset muscle soreness) generally occurs when you do something that you're body isn't used to, be it a new movement in the gym, a movement you know but with more weight or reps, or an activity for a longer duration than you're used to.
Your body is great at adapting to specific demands placed upon it (the SAID principle), so for me, I can boulder or climb all day long (and regularly do) and feel absolutely fine the next day, for someone who's never done it before, a 1 hour induction session leaves them sore for a couple of days afterwards.
If you're not used to it, walking for a couple of miles can leave you sore.
So, if you're used to running, then running will leave you less sore. If you're used to rowing, rowing will leave you less sore, if you're used to the exercise bike, then that will leave you less sore.
So, it depends.