LONDON — “White nationalist terrorism.” “America’s new civil war.” “‘Domestic terrorists’ devastate the U.S.” After two mass shootings rocked the United States last weekend, headlines from Sydney to Paris depicted the bloodshed as America battling itself.

International reactions to previous mass shootings focused on the ubiquity of guns in the United States — a culture that many people around the globe see as alien — and their role in making it the world’s most violent highly developed country.

But in the days since a gunman killed 22 people and injured dozens more at a Walmart store in El Paso, Tex., attention has shifted to the toxic mixture of racism, nationalism and terrorism — along with the easy availability of firearms — and to President Trump’s role in inflaming ethnic divisions. The horror was only compounded by a shooting hours later in Dayton, Ohio, that left nine people dead.

“People are used to the fact that in the United States, every month, a lot of people are killed by someone for no apparent reason,” said Josef Janning, a senior policy fellow at the European Council on Foreign Relations, based in Berlin. “And now it comes together with this trend in Western society of gut-feeling, tribal politics that inflames people rather than educate them.”