two thoughts, bill...

1) onomatopoeia itself is an old, Greek word; so maybe some of the old roots of these words were formed from the imitation of sounds
2) there is a second sense to the word onomatopoeia (and this is the more likely explanation): the use of words whose sound suggests the sense [it's a chicken and egg sort of thing]