The story
So called because at one time, criminals were executed by being hung from elm trees along the banks of the Tyburn Brook (historically, often confused with the nearby Tyburn River), a tributary stream which ran through Hyde Park.
Etymology from Wiktionary, CC BY-SA 4.0.