Here's why:
* Question Mark: The first part of the sentence is a question, so it needs a question mark at the end.
* Quotation Marks: The entire thought "Was there something wrong with me?" is being presented as a direct quote, so it needs quotation marks.
* Comma: The phrase "I wondered" is a dependent clause that follows the independent clause within the quotation marks. It needs a comma to separate it.