A U.S. aircraft carrier and bomber task force were deployed in response to "clear indications" Iran was planning an attack on U.S. forces, a U.S. official said.