Yes, push people, and they react. Push a large enough group hard enough, and enough people within that group will react with violence. That is a human trait. I do not like it, but it is a fact.
Now look at the pushing. In one case it is racism. That racism exists in the US has been proven. In the other case, the pushing originates with one man, with unproven claims of a stolen election. Unproven in courts of law. Unproven by science. There is a big difference there that should be addressed first. Rioting because of being oppressed is quite different from rioting in order to stay in power.
After that has been addressed we have to acknowledge that we cannot change that people react when pushed. But we can change the stimuli they get. Give them broad and objective information for example. Not propaganda. Give them equal rights and equal chances in life.
So if you are serious about getting civilized behaviour, address the stimuli. In one case: stop racism. In the other case: reform your political system and your propaganda media. A two-party system is almost as much as a joke as a communist one-party system. And the media in the US suffer from the same idiocy. In communist systems you see one side in the media. In the US you see two. In China you get one type of propaganda, in the US you get two. Problem is, there are not just one or two sides. There are many. Having just two leads to narrow news reporting, polarisation, and inherent instability like you see now. You are also pushed into one camp, judging from the 'us and them' statements you make. Fortunately you still reach out to 'the other side'. Unfortunately more and more people are being brainwashed: about half of the voters are. Which half depends on what side you are on. The only way out is to see that both sides have been brainwashed. Both sides are being played.
So please, do your best to reform both politics as well as the media. They have both been corrupted. The courts have not yet been corrupted, but the process has already been started.