The storyFrom elephant + -ry, by analogy with infantry and cavalry.Etymology from Wiktionary, CC BY-SA 4.0.