The US government is attempting to avoid accusations of war crimes in its attacks on Iranian infrastructure.