When the string hits the fret the momentum of the string causes it to vibrate.
(the string; hits; the fret the momentum of the string causes it to vibrate) (the momentum of the string; causes; it; to vibrate)
the string the momentum of the string
hits causes
the fret the momentum of the string causes it to vibrate
it to vibrate