Eeyore is a donkey named after the noise a donkey makes. The joke only works fully in a British accent.

Merriam-Webster calls the name simply a phonetic spelling of a donkey's sound. American English usually writes that sound hee-haw, a word Merriam-Webster dates to 1815 and describes as imitative. A. A. Milne wrote it as Eeyore.

The spelling makes sense once the r goes silent. Most of England speaks a non-rhotic accent, in which an r after a vowel is not pronounced. Read that way, Eeyore comes out as "EE-aw," a fair copy of a bray. Wikipedia notes that the r in the spelling reflects non-rhotic English. American readers, who sound the r, tend to hear "EE-or" and miss the donkey inside the name.

The same accent explains other British spellings, Merriam-Webster points out. British writers use "er" and "erm" where Americans write "uh" and "um," and "larf" for laugh. Piglet's "haycorns" for acorns plays with sound in a similar way.

Naming an animal after its species, or a near variant, was Milne's habit. Rabbit is a rabbit and Owl is an owl. Piglet is a small pig, and Merriam-Webster suggests Tigger is perhaps an early reader's version of tiger. Eeyore fits the pattern, only through the ear instead of the dictionary.

The character came from the nursery. Eeyore was inspired by a stuffed toy that Milne bought for his son, Christopher Robin, at Harrods. It was the second stuffed animal Christopher Robin acquired, given as a Christmas present. Eeyore first appears in Winnie-the-Pooh in 1926, drawn by the English illustrator E. H. Shepard. The original toys are on display at the main branch of the New York Public Library.

Pooh's own name took a different route, from a real animal rather than a sound. Merriam-Webster traces it to a real bear whose owner came from Winnipeg to London. Eeyore needed no such backstory. He was named the way a child would name a donkey: by what it says.