The violence erupted after groups of mostly students gathered to demonstrate against rising air pollution levels.