The near miss happened when a pair of American Airlines planes under the same call call sign and on the same frequency spoke with the controller as one arrived into Phoenix and another was leaving.