The biggest issue with riots is that there is always more police than rioters. So police units have to act tactically in order to control the crowd.
HOW TO STOP A RIOT
Riots are attacks at public safety. They are accompanied by violence, destruction of public and private property, fires and armed resistance to government officials, including the use of explosives or flammable substances.
Law enforcement has a function of restoring public order.