I don't know what the true answer is, but I'd consider the overtones. Vibrating strings produce overtones whose frequencies are multiples of the fundamental. So the first overtone is twice the frequency; an octave higher. When you play that note an octave higher, you're again producing overtones that perfectly line up with the overtones that were produced by the lower octave (if we just ignore the effect of string stiffness). So it's like the same note, only missing the fundamental frequency and odd multiples of it.
This is also why the feedback from a heavily overdriven guitar amp (which emphasizes overtones) can morph the sound to the same note at a higher octave. It's simply a matter of letting the fundamental frequency grow quiet in comparison to the powerful overtones which are further amplified by feedback. I don't know if that can ever produce a different note; I don't think it could. That would require actual change in frequencies.
Different notes, by comparison, produce overtones that only sometimes (or never) line up with the overtones of another note. I'm not sure but I think that also explains why some notes together sound dissonant while other combinations make good chords. If you're trying to transcribe a piece of music by analyzing its spectrogram (which I do because my ear isn't very good), you'll find that the notes that are usually hard to tell apart are the ones that harmonize well and have overtones that line up.