President Donald Trump said a ceasefire with Iran may be over, and "it will get much worse" if Iran continues to bomb ships.