Justices of the Arizona Supreme Court are appointed by the Governor of Arizona. The governor selects justices from a list compiled by the Arizona Commission on Appellate Court Appointments, which is a bipartisan commission.
You can read more about the selection process here: Ballotpedia.