[Updated below - Update II]

Protesters attacked the US consulate in Benghazi, Libya on Tuesday night and killed four Americans, including the US ambassador, Chris Stevens. The attacks were triggered by rage over an amateurish and deeply hateful film about Islam that depicted the Prophet Muhammad as, among other things, a child molester advocate, a bloodthirsty goon, a bumbling idiot, and a promiscuous, philandering leech. A 13-minute trailer was uploaded to YouTube and then quickly circulated in the Muslim world, sparking widespread anger (the US embassy in Cairo was also attacked).

The anti-Islam film was originally reported by the Associated Press news agency to have been written, directed and produced by an Israeli real estate developer living in California, Sam Bacile. Later the news agency issued a fresh story having investigated further and traces the genesis of the film to a Coptic Christian, Nakoula Basseley Nakoula, living in California. [see footnote] Its purpose, as described by the Israeli newspaper, was to show that "Islam is a cancer" and to provide a "provocative political statement condemning the religion". It's hard to believe that the film – which is barely at the level of a poorly rehearsed high-school play – required $5m to make, but the intent seems clear: to provoke Muslims into exactly the sort of violent rage that we are now witnessing.

Events like this one are difficult to write about when they first happen because the raw emotion they produce often makes rational discussion impossible. A script quickly emerges from which All Decent People must recite, and any deviations are quickly detected and denounced. But given the magnitude of this event and the important points it raises, it is nonetheless worthwhile to examine it:

1) The deaths of Ambassador Stevens, a former Peace Corps volunteer and a dedicated Arabic-speaking career diplomat, and the other three American staff, are both a tragedy and a senseless outrage. Indiscriminately murdering people over a film, no matter how offensive it is, is an unmitigated wrong. The blame lies fully and completely with those who committed these murders.

2) Sam Bacile and his cowardly anonymous donors are repellent cretins for producing this bottom-feeding, bigoted, hateful "film" that has no apparent purpose but to spread anti-Islamic hatred and provoke violent reactions. But just as was true of the Qur'an burnings by Pastor Terry Jones (who, unsurprisingly, has a prominent role in promoting this film), or the Danish Muhammad cartoons before that, it is – and it should be – an absolute, unfettered free speech right to produce films no matter how offensive their content might be.

The US has steadily eroded free speech rights in the name of fighting terrorism by criminalizing pure political speech it deems dangerous and prosecuting Muslims who express those prohibited ideas. Attempts to constrain the rights of individuals to produce anti-Muslim films like the trash produced by Bacile and friends are just as dangerous and wrong as all other efforts to constrain free speech. Free speech is a vital liberty – arguably, the central one – and what it means, at its core, is that the right to express even the most repellent and inflammatory ideas is just as inviolable as the right to express inoffensive or conventional ones.

3) It is hard not to notice, and be disturbed by, the vastly different reactions whenever innocent Americans are killed, as opposed to when Americans are doing the killing of innocents. All the rage and denunciations of these murders in Benghazi are fully justified, but one wishes that even a fraction of that rage would be expressed when the US kills innocent men, women and children in the Muslim world, as it frequently does. Typically, though, those deaths are ignored, or at best justified with amoral bureaucratic phrases ("collateral damage") or self-justifying cliches ("war is hell"), which Americans have been trained to recite.

It is understandable that the senseless killing of an ambassador is bigger news than the senseless killing of an unknown, obscure Yemeni or Pakistani child. But it's anything but understandable to regard the former as more tragic than the latter. Yet there's no denying that the same people today most vocally condemning the Benghazi killings are quick and eager to find justification when the killing of innocents is done by their government, rather than aimed at it.

It's as though there are two types of crimes: killing, and then the killing of Americans. The way in which that latter phrase is so often invoked, with such intensity, emotion and scorn, reveals that it is viewed as the supreme crime: this is not just the tragic deaths of individuals, but a blow against the Empire; it therefore sparks particular offense. It is redolent of those in conquered lands being told they will be severely punished because they have raised their hand against a citizen of Rome.

Just compare the way in which the deaths of Americans on 9/11, even more than a decade later, are commemorated with borderline religious solemnity, as opposed to the deaths of the hundreds of thousands of foreign Muslims caused by the US, which are barely ever acknowledged. There is a clear hierarchy of human life being constantly reinforced by this mentality, and it is deeply consequential.

This is a vital process for enabling and justifying endless aggression. It is a way of dehumanizing those who are killed by the US while venerating American lives above all others. As the media watchdog group Media Lens put it today:

"A crucial task is to perceive how our compassion is channeled towards some and away from others. It's the foundation of all mass violence."

The death of Ambassador Stevens and the three Americans who died with him is as tragic as the constant killing of innocent people by the US, but not more so.

4) The two political parties in the US wasted no time in displaying their vulgar attributes by rushing to squeeze these events for political gain. Democratic partisans immediately announced that "exploiting US deaths" – by which they mean criticizing President Obama – "is ugly, unwise".

That standard is as ludicrous as it is hypocritical. Democrats routinely "exploited US deaths" – in Iraq, Afghanistan, and from 9/11 – in order to attack President Bush and the Republican party, and they were perfectly within their rights to do so. When bad things happen involving US foreign policy, it is perfectly legitimate to speak out against the president and to identify his actions or inaction that one believes are to blame for those outcomes. These are political events, and they are inherently and necessarily "politicized".

It's one thing to object to specific criticisms of Obama here as illegitimate and ugly, as some of those criticisms undoubtedly were (see below). But trying to impose some sort of general prohibition on criticizing Obama – on the ground that Americans have died and this is a crisis – smacks of the worst debate-suppressing tactics of the GOP circa 2003. (To his credit, one of the Democrats making those claims today subsequently acknowledged his error and wrote: "Obviously there's nothing wrong with criticizing the president, even during a crisis.")

But in this case, what the GOP and Mitt Romney did is substantially worse. As the attacks unfolded, Romney quickly issued a statement, based on the response of the US embassy in Egypt, accusing Obama of "sympathiz[ing] with those who waged the attacks" (the Obama White House repudiated the statement from the embassy in Cairo). The chairman of the GOP, Reince Preibus, unloaded on the world this disgusting tweet: "Obama sympathizes with attackers in Egypt. Sad and pathetic".

These accusations were all pure fiction and self-evidently ugly; they prompted incredulous condemnations even from media figures who pride themselves on their own neutrality.

But this is the story of the GOP. Faced with a president whose record is inept and horrible in many key respects, they somehow find a way to be even more inept and horrible themselves. Here, they had a real political opportunity to attack Obama – if US diplomats are killed and embassies stormed, it makes the president appear weak and ineffectual – but they are so drowning in their own blinding extremism and hate-driven bile, so wedded to their tired and moronic political attacks (unpatriotic Democrats love America's Muslim enemies!), that they cannot avoid instantly self-destructing. Within a matter of hours, they managed to turn a politically dangerous situation for Obama into yet more evidence of their unhinged, undisciplined radicalism.

5) Drawing conclusions about Libya, and the US intervention there, from this situation would be unfair and far too premature. This does, however, highlight the rampant violence, lawlessness, militia thuggery, and general instability that has plagued that country since Gadaffi's removal from power. Moreover, given all the questions, largely ignored, about who it was exactly whom the US was arming and empowering in that country during the intervention, and what the unexpected consequences of doing that might be, it is vital to know how the attackers came into possession of rocket-propelled grenades and other heavy weaponry.

This event also serves as a crucial reminder, yet again, that merely removing a heinous dictator is not proof that the intervention was successful, just or worthwhile. To assess that question, one must know what will follow in that country, for its people, once the intervening powers have removed the government. Declarations of victory and vindication over the intervention in Libya have always been premature, self-serving and baseless – precisely because that crucial fact is yet unknown. We can only hope that Tuesday's events do not presage a depressing answer to that question.

In sum, one should by all means condemn and mourn the tragic deaths of these Americans in Benghazi. But the deaths would not be in vain if they caused us to pause and reflect much more than we normally do on the impact of the deaths of innocents which America itself routinely causes.

UPDATE: There are two developments in this story which, though they do not affect any of the observations I made, should be noted as they are at odds with some of the earlier reports: (1) although the Haaretz report was (and remains) quite definitive that the filmmaker is an Israeli named Sam Bacile, doubts have now been raised about the identity of the actual filmmaker, and (2) an anonymous US official claims that the attack was preplanned to coincide with 9/11, and the attackers exploited the protests over the film as a diversion. Neither of those claims is proven.

UPDATE II: AP does further work investigating the identity of "Sam Bacile", and traces the genesis of the film to a Coptic Christian, Nakoula Basseley Nakoula, living in California. Also note that, contrary to what I indicated the above, the article in Haaretz I referenced which featured the interview with "Sam Bacile" was actually an Associated Press article that Haaretz carried.

• Editor's note: this article was amended on 14 September. The original stated that the producer of the film was Sam Bacile, an Israeli real estate developer living in California and that he had made the film with the help of 100 Jewish donors. This assertion was based on an Associated Press report that was published in Haaretz [see updates above].