Decreasing a guitar string's vibrating length raises its pitch. This is fundamental physics:
Frequency (f) ∝ 1 / Length (L) — assuming constant tension (T) and mass per unit length (μ).
Formula: f = (1 / 2L) × √(T / μ)
"Decreasing length increases tension" — false for fretting. Tension is set by tuning pegs. Fretting only changes L. (Bending a string does increase T and L slightly, raising pitch further.)
Open string = longest L = lowest note. 1st fret = slightly shorter = +1 semitone. 12th fret = half length = +12 semitones (octave).