The new Philippine president has blamed US intervention for the bloody conflicts in Iraq and other Middle Eastern countries in his latest criticism of Manila's closest security ally.
President Rodrigo Duterte suggested in a speech on Friday that intrusive policy was to blame for attacks on US soil, saying, "It is not that the Middle East is exporting terrorism to America, America imported terrorism."
He told the Muslim community in southern Davao city in a ceremony marking the end of the Muslim fasting month of Ramadan, "They forced their way to Iraq ... look at Iraq now, look what happened to Libya, look what happened to Syria.
"People are being annihilated there including children."
The former Davao mayor has pointed out the benefits of nurturing friendly relations with Beijing, including a Chinese offer of financing railway projects in the Philippines.
The country has had frosty ties with China under Duterte's predecessor, Benigno Aquino III, who bolstered security ties with the US to deter China's assertiveness in the disputed South China Sea.
Despite his remarks, there has been no indication that he would move to change the country's robust defence ties with the United States.
The treaty allies hold large-scale combat exercises each year and signed a 2014 defence pact that allows the US military to temporarily base troops and build and operate facilities in Philippine military camps. China has criticised the pact.
In the Philippines Duterte has given allies of communist rebels at least two key posts in his cabinet as part of an effort to forge a peace deal with the insurgents, who are labelled terrorists by the US.
Duterte's speech centred on his plan to open peace talks with two large Muslim rebel groups in the southern Mindanao region, homeland of minority Muslims in the largely Roman Catholic nation. Duterte's plan includes shifting to a federal system of government that would give more autonomy and resources to impoverished regions like Mindanao. He called on Muslims to back his efforts.
"As a nation, we must sit down," he said. "Why will we kill each other?"
In the case of Abu Sayyaf militants, Duterte said he would not lump them with criminals, saying "these were the guys who were driven to desperation".
He did not say how he would try to deal with the extremists although he has warned them in recent weeks to stop a wave of ransom kidnappings or face "a reckoning one of these days".
Australia, the Philippines and the United States all list Abu Sayyaf as a terrorist organisation that has carried out bombings, kidnappings and beheadings during the past three decades.