"I wonder" is not a question
I've been seeing dialogue from NPCs recently where they say something like "I wonder what's going on?" or "I wonder where she went?"
This is grammatically incorrect as saying "I wonder" in this manner is considered a statement, not a question, and therefore should end in a period and not a question mark.
Consider the sentence "I wonder" by itself. This is considered a statement, like "I watch" or "I laugh".
A sentence that starts with "I wonder" would be considered a question if it was structured like so: "I wonder, where is she?"
Several websites confirm this, though some argue that statements such as these could be considered a question depending on how they're worded and whether an answer is being sought.