The targets struck by U.S. forces had been used to attack American warships and commercial vessels, officials said.