The pitch of a vibrating string is governed by:
f = (1 / 2L) × √(T / ρ)
Increasing T (tightening the tuning peg) raises f. The string's restoring force increases, so it accelerates back to center faster each cycle → higher frequency → higher pitch.
Conversely, lengthening L (fretting lower) or increasing ρ (heavier gauge) lowers pitch. This physics underpins every string instrument's tuning.