The sinking of an Iranian warship Tuesday by a U.S. submarine thousands of miles from the war zone in international waters raises questions about whether the attack was legal under the rules of war.