US president Donald Trump’s announcement came after US forces boarded a vessel in the Indian Ocean carrying oil from Iran.