US Secretary of State John Kerry (C) waits prior to world powers representatives meeting to pin down a nuclear deal with Iran, on March 30, 2015 at the Beau Rivage Palace Hotel in Lausanne. AFP PHOTO POOL/BRENDAN SMIALOWSKI (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images
PHOTO: BRENDAN SMIALOWSKI/AFP/Getty Images
US Secretary of State John Kerry (C) waits prior to world powers representatives meeting to pin down a nuclear deal with Iran, on March 30, 2015 at the Beau Rivage Palace Hotel in Lausanne. AFP PHOTO POOL/BRENDAN SMIALOWSKI (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images
Now playing
02:30
Will U.S. use military force on Iran?
Now playing
03:33
Congress wants power to review Iran nuclear deal
intv amanpour ernest moniz sanctions_00023321.jpg
intv amanpour ernest moniz sanctions_00023321.jpg
Now playing
02:33
U.S.: Around 6 months to lift Iran sanctions
Sciutto Iran Nuclear Deal Explainer Orig_00000000.jpg
Sciutto Iran Nuclear Deal Explainer Orig_00000000.jpg
Now playing
01:44
Final Iran nuclear deal faces hurdles
erin burnett out front mac thornberry kerry iran nuclear deal pitch_00010704.jpg
erin burnett out front mac thornberry kerry iran nuclear deal pitch_00010704.jpg
Now playing
03:00
Thornberry: Kerry was in 'strong advocacy mode'
PHOTO: FABRICE COFFRINI/AFP/Getty Images
Now playing
06:01
Will Congress kill the Iran nuclear deal?
Iran Nuclear Zarif AR ORIGWX_00002825.jpg
Iran Nuclear Zarif AR ORIGWX_00002825.jpg
Now playing
01:56
Iran foreign minister on nuclear talks
erin intv carter iran nuclear facilities bunker buster_00002523.jpg
erin intv carter iran nuclear facilities bunker buster_00002523.jpg
Now playing
01:37
Carter: Iran, N. Korea could be working on nuke
Now playing
05:35
Senator: No one has a firm grasp on Iran framework deal
United States Secretary of State John Kerry (L) sits with his delegation during a negotiation meeting concerning Iran
PHOTO: BRIAN SNYDER/AFP/Getty Images
United States Secretary of State John Kerry (L) sits with his delegation during a negotiation meeting concerning Iran's nuclear program with Iran's Foreign Minister Javad Zarif (R) in Lausanne on March 19, 2015 as European Union Political Director Helga Schmid (4-L) looks onover.
Now playing
04:44
Energy Secy.: Deal delays Iran's ability to make bomb
lead pkg acosta iran deal obama_00000000.jpg
lead pkg acosta iran deal obama_00000000.jpg
Now playing
02:13
Obama: Iran deal "once-in-a-lifetime opportunity"
Republican Letter Iran AR ORIGWX_00000000.jpg
Republican Letter Iran AR ORIGWX_00000000.jpg
Now playing
02:15
Should Republicans have sent a letter to Iran?
tapper: rhodes intv_00010115.jpg
tapper: rhodes intv_00010115.jpg
Now playing
06:10
W.H. official defends Iran framework deal
nr ll Serfaty obama nyt intv_00012227.jpg
nr ll Serfaty obama nyt intv_00012227.jpg
Now playing
02:07
President Obama defends Iran nuke deal to NYT
PHOTO: FABRICE COFFRINI/AFP/Getty Images
Now playing
06:36
Former U.S. negotiator: key of Iran deal is in the details
PHOTO: Lior Mizrahi/Getty Images
Now playing
06:55
Netanyahu: Iran nuke deal "very bad"
tsr dnt sciutto u.s. concerned about russian jets_00012525.jpg
PHOTO: Russian Military
tsr dnt sciutto u.s. concerned about russian jets_00012525.jpg
Now playing
02:39
Will Russia sell missiles, fighter jets to Iran?
Caption:Israeli Prime Minister Benjamin Netanyahu makes a statement to the press about negotiations with Iran at his office in Jerusalem on April 1, 2015. World powers must toughen their stance to reach a
PHOTO: Debbie Hill/AFP/Getty
Caption:Israeli Prime Minister Benjamin Netanyahu makes a statement to the press about negotiations with Iran at his office in Jerusalem on April 1, 2015. World powers must toughen their stance to reach a 'better' deal with Iran aimed at preventing it from obtaining nuclear weapons, Netanyahu said. AFP PHOTO / POOL / DEBBIE HILL (Photo credit should read DEBBIE HILL/AFP/Getty Images)
Now playing
03:38
Netanyahu: I respect President Obama
Now playing
02:47
Iran's leader faces division at home
idesk iran rouhani nuclear deal framework_00012112.jpg
PHOTO: Reuters
idesk iran rouhani nuclear deal framework_00012112.jpg
Now playing
01:43
Rouhani: We will stick to our promises on nuclear deal
nr seg iranians react to nuclear deal_00005004.jpg
PHOTO: Twitter/@pedl
nr seg iranians react to nuclear deal_00005004.jpg
Now playing
01:11
Iranians celebrate nuclear deal
tsr intv labott john kerry iran nuclear talks_00001120.jpg
tsr intv labott john kerry iran nuclear talks_00001120.jpg
Now playing
03:15
Kerry: 'People negotiated hard' in Iran nuclear talks
erin dnt acosta white house iran nuclear reaction_00002319.jpg
erin dnt acosta white house iran nuclear reaction_00002319.jpg
Now playing
02:28
Obama: 'This deal is not based on trust'
British Foreign Secretary Philip Hammond, U.S. Secretary of State John Kerry, EU foreign policy chief Federica Mogherini and Iranian Foreign Minister Mohammad Javad Zarif arrive prior to the announcement of an agreement on Iran nuclear talks on April 2, 2015 at the The Swiss Federal Institutes of Technology in Lausanne
PHOTO: FABRICE COFFRINI/AFP/Getty Images
British Foreign Secretary Philip Hammond, U.S. Secretary of State John Kerry, EU foreign policy chief Federica Mogherini and Iranian Foreign Minister Mohammad Javad Zarif arrive prior to the announcement of an agreement on Iran nuclear talks on April 2, 2015 at the The Swiss Federal Institutes of Technology in Lausanne
Now playing
04:57
Expert assesses the good and bad of the Iran deal
erin intv israeli pm on iran nuke deal_00002720.jpg
erin intv israeli pm on iran nuke deal_00002720.jpg
Now playing
04:11
Israeli spokesman: Iran deal is 'very dangerous'
Caption:WASHINGTON, DC - MARCH 25: U.S. President Barack Obama speaks during an event marking the 5th anniversay of the Affordable Care Act March 25, 2015 at the South Court Auditorium of Eisenhower Executive Office Building in Washington, DC. President Obama spoke on the benefits of the legislation. (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images
Caption:WASHINGTON, DC - MARCH 25: U.S. President Barack Obama speaks during an event marking the 5th anniversay of the Affordable Care Act March 25, 2015 at the South Court Auditorium of Eisenhower Executive Office Building in Washington, DC. President Obama spoke on the benefits of the legislation. (Photo by Alex Wong/Getty Images)
Now playing
02:23
Obama: 'It is a good deal'

Story highlights

Iranian plane came within 50 yards of U.S. Navy Sea Hawk copter

Navy copter was on patrol in international airspace

U.S. official think Iranian plane may have been under orders of local commander

(CNN) —  

An Iranian military observation aircraft flew within 50 yards of an armed U.S. Navy helicopter over the Persian Gulf this month, sparking concern that top Iranian commanders might not be in full control of local forces, CNN has learned.

An MH-60R Sea Hawk helicopter approaches the flight deck of the aircraft carrier USS Carl Vinson in November 2014.
PHOTO: U.S. Navy/Spc. 2nd Class John Philip Wagner
An MH-60R Sea Hawk helicopter approaches the flight deck of the aircraft carrier USS Carl Vinson in November 2014.

The incident, which has not been publicly disclosed, troubled U.S. military officials because the unsafe maneuver could have triggered a serious incident.

It also surprised U.S. commanders because in recent months Iranian forces have conducted exercises and operations in the region in a professional manner, one U.S. military official told CNN.

“We think this might have been locally ordered,” the official said.

The incident took place as the U.S. and other world powers meet with Iran in Switzerland to negotiate a deal limiting Tehran’s nuclear program. At the same time, Iran has been active in supporting proxies in several hotspots in the Persian Gulf and neighboring regions.

PHOTO: Will Mullery/CNN

The Navy MH-60R armed helicopter was flying from the deck of the USS Carl Vinson on a routine patrol in international airspace, the official said.

An unarmed Iranian observation Y-12 aircraft approached. The Iranian aircraft made two passes at the helicopter, coming within 50 yards, before the helicopter moved off, according to the official.

The official said the helicopter deliberately broke off and flew away in a ‘predictable’ manner so the Iranians could not misinterpret any U.S. intentions.

The Navy helicopter was in radio contact with the ship during the encounter, but there was no contact between the two aircraft and no shots were fired.

The Navy crew took photos of the incident but the military is not releasing them.

The U.S. administration is considering a potential demarche protest against Iran, the official said.

CNN has reached out to Iranian officials but has not received a response.

This type of Iranian observation aircraft generally operates over the Gulf several times a month. But after the recent incident, U.S. naval intelligence did not see it again for two weeks, leading to the conclusion that the incident may have been ordered by a local commander who was then reprimanded by higher-ups.

READ: White House readies Iran nuclear deal sales pitch to skeptical Congress

The Pentagon has noted for the last several years that most encounters with the Iranian military at sea or in air are conducted professionally, but that some missions run by Iranian Revolutionary Guard Corps forces have been too aggressive against U.S. forces in the area.

The U.S. military’s concern has been that one of these incidents could escalate into a military encounter.

This incident “might have been buffoonery” the official said, but there is always a risk from such actions.

The incident comes as the Navy patrols the Gulf of Aden to watch for Iranian ships the U.S. believes are trying to bring weapons to resupply the Houthi rebels in Yemen. The Navy would share such intelligence with Saudi Arabia, a second U.S. official told CNN.

READ: Iran destroys mock U.S. carrier