Once in Ankara, Mr. Kerry initially approached the issue somewhat indirectly. Noting that he had attended a memorial event earlier in the day for a Turkish security guard who had been killed trying to stop suicide bomber at the American Embassy, Mr. Kerry said that this selflessness should inspire a “spirit of tolerance.”

“And that,” Mr. Kerry added, “includes all of the public statements made by all leaders.”

But in response to a question at a news conference with Foreign Minister Ahmet Davutoglu, Mr. Kerry was more direct.

“Obviously, we not only disagree with it. We found it objectionable,” Mr. Kerry said of Mr. Erdogan’s statement, noting that he planned to raise the matter Friday evening with the prime minister. The comments by Mr. Davutoglu suggested that it might not be an easy discussion.