To discourage others from smoking during the race.
Imagine this guy was in front of you, and you have to breathe in his second hand smoke while you're trying to run a marathon. Not everyone has lungs of steel like this guy.
the Xiamen Marathon confirmed that a participant violated an article of its rules and regulations, which prohibits "open defecation, smoking, or trampling on flower beds or green spaces."