Linguistics · Metathesis
The word 'wasp' used to be pronounced 'waps' — the sounds just swapped places
Metathesis is the historical reordering of sounds within a word. Old English 'wæps' settled into the modern 'wasp' this way, and the same process is still happening live: many English dialects say 'aks' for 'ask', simply swapping the final two sounds, a pattern traceable back over a thousand years.
— Wikipedia, Metathesis (linguistics) — Historical linguistics