Is that your question?

Perhaps the writer thought that in American English, all punctuation goes before a closing quotation mark. Not so! Only a period and comma go there; a question mark or exclamation mark go there only if it applies to the words in quotes. And it this case, it doesn’t.