Right component supplies the sound (gān, no shift) and adds a faint semantic echo:
干 itself originally pictured a forked weapon/pole and still appears in
旗杆 (flagpole),
栏杆 (railing). So
杆 is 'a wood-version of the pole shape', unusually transparent both phonetically and semantically.