They stretch and thicken like a tunable string
To sing higher, the laryngeal muscles stretch the vocal folds longer and thinner, the same way tightening a guitar string raises its note. To go lower, the folds shorten and thicken, loosening the tension and dropping the pitch.