US officials say it is a "precautionary measure" and comes as Donald Trump weighs up whether to take action against Iran.