President Trump has said he would expand the war if the Iran-backed Houthi militants launched additional attacks.