The mapping of word-level accentual phenomena and musical prominence and melody in text-setting is well-known. This leads to the question as to whether higher-level prosodic constituents are also mirrored in music, and if so how.
I would say, the musical phrase mimics (inherits) the rising-and-falling intonation of the sentence, marking its non-final members with the questioning intonation of semi-cadences before ending on a cadence. Somehow syntactic structure of speech correlates (and has to correlate) with musical phrasing, or vice versa. I would dare suggest my superficial observations here: Book An easy introduction to comparative metrics.