One of the weirdest things about English is this: yourdictionary.com/articles/an

How do terms like this get established?