IE 11 is not supported. For an optimal experience visit our site on another browser.

Obama chides anti-refugee crowd for being 'scared of widows and 3-year-old orphans'

President Barack Obama, speaking in the Philippines on Wednesday, took shots at politicians back home who are trying to close America's borders to refugees.

President Barack Obama, speaking in the Philippines on Wednesday, took shots at politicians back home who are trying to close America's borders to refugees.

"When candidates say we shouldn't admit 3-year old-orphans, that's political posturing," Obama said at the Asia-Pacific Economic Cooperation Summit in Manila — making a veiled reference to GOP candidate and New Jersey Gov. Chris Christie. "When people say we should have a religious test, and only Christians, proven Christians, should be admitted, that's offensive, and contrary to American values."

He added, taking another jab: "These are the same folks often times that say they're so tough that just talking to (Russian President Vladimir) Putin or staring down ISIL (ISIS) or using some additional rhetoric will solve the problem — and they're scared of widows and 3-year-old orphans."

A growing chorus of mostly Republican governors has called for their states to be shut to Syrian refugees. But it is unlikely that the federal government would actually be restricted by local whim.

RELATED: More governors seek to block Syrian refugees

Obama noted that refugees coming to the United States are screened for 18 to 24 months before being cleared to enter the country, with the intelligence agencies vetting applicants.

"We are not well served when, in response to a terrorist attack, we descend into fear and panic," Obama said, showing emotion, even anger. "We don't make good decisions if they're based on hysteria or an exaggeration of risks.

He reminded the foreign crowd of the Boston Marathon bombing and its aftermath: "We did not resort to fear and panic ... people went to ball game that same week, and sang the national anthem," Obama said.

"That's how you defeat (ISIS) — not trying to divide the country or suggesting that our tradition of compassion should stop now."

This article originally appeared on NBCNews.com.