"The USNS (US naval ship) ship that was in close proximity is something that the President has been made aware of. He has been very clear that this provocative action is something that won't be tolerated," White House Press Secretary Sean Spicer told reporters at his daily news conference.
According to the Pentagon, Iranian vessels came dangerously close to US navy surveillance ships in the Strait of Hormuz over the weekend.
The Pentagon has previously voiced concern over a string of high-profile incidents in waters off Iran.
It has accused the Iranian Revolutionary Guard Corps (IRGC) of conducting risky manoeuvres around US vessels.