The disparity in reactions highlighted a sense in the region of being left alone to bear the brunt of Syria’s deadly four-year war, which has sent more than four million refugees fleeing, mostly to neighboring countries like Lebanon. For the Lebanese, the government has been little help, plagued as it is with gridlock and corruption that have engendered electricity and water shortages and, most recently, a collapse of garbage collection. Many in the region — both supporters and opponents of the Syrian government — say they have long warned the international powers that, if left unaddressed, the conflict would eventually spill into the West.

To be sure, the attacks meant different things in Paris and Beirut. Paris saw it as a bolt from the blue, the worst attack in the city in decades, while to Beirut the bombing was the fulfillment of a never entirely absent fear that another outbreak of violence may come.

Lebanon seemed to have recovered over the past year and a half from a series of bombings claimed by Sunni militant groups as revenge for the intervention by Hezbollah, the Lebanon-based Shiite militia, in the Syrian civil war to provide critical support for the Syrian government.

Some blamed news coverage for the perception that Beirut is still an active war zone. They cited headlines — including, briefly, a Times one that was soon changed to be more precise — that refer to the predominantly Shiite neighborhood where the bombing took place as a “stronghold” of the militia and political party Hezbollah.

That is hard to dispute in the political sense — Hezbollah controls security in the neighborhood and is highly popular there, along with the allied Amal party. But the phrase also risks portraying a busy civilian, residential and commercial district as a justifiable military target.

Meanwhile, Syrians fretted that the brunt of reaction to both attacks would fall on them. There are a million Syrians in Lebanon, a country of four million; some have become desperate enough to contemplate joining the accelerating flow of those taking smugglers’ boats to Europe.

But now, the attacks could rally political pressure in Europe to stop admitting them. When evidence emerged that at least one of the Paris attackers may have posed as an asylum seeker to reach Europe, some opponents of the migration quickly used that to argue for closing the doors.

That drew sharp reactions from Syrians, who said refugees were fleeing to Europe precisely to escape indiscriminate violence.

“This is the sort of terrorism that Syrian refugees have been fleeing by the millions,” declared Faisal Alazem, a spokesman for the Syrian Canadian Council.

The compassion gap is even more evident when it comes to the situation in Syria itself, where death tolls comparable to the 129 so far in the Paris attacks are far from rare and, during the worst periods, were virtually daily occurrences.