You can think of stammer as speech tripping. A foot catches on a step, stops for a beat, and then walks on; a sound catches in the same way and comes out twice before the sentence moves. Nobody chooses to trip, and that is the part of the picture that matters most. Let the tripping happen while someone is talking and you have the verb; name the thing that keeps tripping them and you have the noun.
From the word’s history
From Middle English stameren, from Old English stamerian; the source notes it is a doublet of 'stumble'.
來自中古英文 stameren、古英文 stamerian;資料明確指出它跟 stumble(絆倒)是同源的雙式詞。也就是說,「說話絆住」和「走路絆住」在字源上本來就是同一家人,這條線索正好撐住上面那幅畫面。
Wiktionary etymology supplied in this packet (kaikki:3f6f69a190036ae4:466622272) for 'stammer': Middle English stameren < Old English stamerian; 'Doublet of stumble'