Vocal music had text for expression; instruments needed explicit volume instructions. "Piano" (soft) and "Forte" (loud) appear in early 1600s (Gabrieli, Monteverdi).
Larger groups (early orchestra) required balance markings so sections wouldn't drown each other.
Audiences craved emotional contrast. Dynamics became a composer's tool for drama—sturm und drang, Romantic sweep.
Fortepiano (c. 1700) allowed player-controlled dynamics—unlike harpsichord. Notation followed capability.
By late 1700s (Haydn, Mozart, Beethoven), pp, p, mp, mf, f, ff, cresc., dim. were universal.
Dynamics turned notation from a pitch/rhythm script into a performance blueprint.