US President Donald Trump joined the chorus of American voices blaming Iran for the suspected attack on two tankers near the Strait of Hormuz.

Trump, speaking on Fox News Friday morning said the country is in "deep, deep trouble" after the US pulled out of a 2015 deal that lifted sanctions in exchange to revisions to Iran's nuclear programme.

"Iran did do it and you know they did it because you saw the boat," Trump said.