Since history shows us that no nuclear powers have gone to general war against each other, unless you count the Siachen Glacier conflict; maybe Iran seeks weapons to ensure its survival and national defense.