Why are sentences for violent disorder lower than those for peaceful protest?

The criminal justice system should not treat rioters less harshly than demonstrators