The strike on the vessel, the Ever Lovely, a container ship that was passing near the Omani side of the strait, appeared to be the first known Iranian attack on a commercial vessel since the signing of a preliminary peace agreement between Tehran and Washington last week. It laid bare the challenges to restoring prewar levels of traffic through the strait, a crucial conduit for oil and gas shipping.