It’s the closest transliteration we have for how the ancient Mycenaeans pronounced the word “queen”.
“Anax”, which is a root work in Greek for “King” and “Anessa” for Queen come from the Mycenaeans word “wanakt” and “wanakt-ja” for king and queen respectively.