Have you ever bumped into the anecdotal or philosophical question: 'why is there no ham in a hamburger?'
This question is often used as an example to demonstrate the complications generated by homonyms in folk etymology, or to remind us to widen our horizons.
The standard answer, of course, is that in reality the hamburger is named after the German city of Hamburg. It follows the same naming pattern as numerous other foodstuffs, like the kasseler (a cured pork thing from Kassel), the manchego (a cheese from La Mancha) or mayonnaise (the amorphous white stuff from Menorca).
The fact that one will find the word 'ham' in 'hamburger' is mere coincidence.