U.S. President Donald Trump and his secretary of war have given multiple and often contradictory descriptions of how long they expect the military operation against Iran to continue.