The Treasury also placed sanctions on three Iranian companies involved in developing and producing drones and linked to the powerful Islamic Revolutionary Guard Corps.
The United States will take further action to hold Iran accountable for actions that threaten the security of a US ally and set a troubling precedent for cyberspace.
The US Navy said its vessels were taking photos of the surrounding environment and had been in the vicinity of the southern Red Sea for more than 200 days.
The 2015 deal, known formally as the Joint Comprehensive Plan of Action, aimed to prevent Iran from developing a nuclear weapon something it has always denied wanting to do.