Two American warships transited through the Strait of Hormuz for the first time since the start of the conflict.