An "elected" official faces the voters and runs for election by popular vote. An "appointed" official does not have to be elected by the voters, they are hired/employed by an arm or agency of government to fill a vacancy for a specific needed skill or expertise.