I'm not sure the current administration would respond to that with anything more than a bow and a grovel.
The NYT reporters who happened to be out of town would all write stories about how we deserved it.
CNN would report that these were desperate people who had been backed into a corner and left no choice but to lash out at us in desperation.
The San Fransisco Chronicle would run wall-to-wall human interest stories from the impoverished villages in the back woods sand of the attacking country and report on how the people of that country just love and adore us. (No we didn't send 20 reporters and only get back 10 alive, they really DO love us!)
Oddly enough, that’s pretty much how the administration, Congress and media in the book reacted. But the people feel differently.
A previously unknown rabble-rouser begins getting public attention, and is eventually elected President by a landslide, winning all 50 states. Unfortunately he turns out to be probably psychotic.
A truly massive popular wave of resentment washes out 3/4 of the House in the next election, with similar results for those Senators who are up to bat. Pols immediately began changing sides to the new party.
Then it gets interesting. Congress passes a law, not unreasonable on the surface, making all politically-motivated violence an exclusively federal crime. Then the President starts pardoning anybody who murders his political opponents: the few remaining opposition congresscritters, federal judges, MSM types, even academics. Perfectly constitutional, as the President’s power of pardon is one of the few in the Constitution with no checks on it.
After a year or so in power, the new President takes his revenge on the Muslim world. It ain’t pretty.