The query nothing else answers
A hash table finds an exact key fast. A balanced tree finds a key and its neighbours in sorted order. Neither answers this well: give me every key beginning with "rec".
A hash table cannot, because hashing deliberately destroys the relationship between similar keys, and "recall" and "receipt" land in unrelated slots. A sorted tree can, since shared prefixes sort adjacently, but every comparison costs a full string comparison, and it cannot answer the routing variant of the question: which of my stored prefixes is the longest one matching this key?
A trie answers both, because it does something neither of the others does. It stores the key in the shape of the structure itself, one character per level, so a prefix is not something you search for. It is a location.

