The warning came after US President Donald Trump said future damages to ships, cargo and related maritime assets would be paid using Iranian funds held and controlled by Washington.