Right-side
公 supplies the sound: gōng shifts to sōng with a velar/sibilant drift. The 'public' meaning plays no role here — pure sound borrowing. Note
松 also conflated with traditional
鬆 (loose, slack) in simplification, so the modern character covers both 'pine tree' and 'loose / relaxed.'