Sometimes the riot happens after the teargas and rubber bullets. Sometimes the riot happens because people whose humanity isn't being respected choose not to respect your property. And sometimes riots happen because people are assholes and nobody is going to stop them.
The neat thing is all 3 of those can be true at the same time.