An American Airlines flight made a precautionary landing in Phoenix because of a possible mechanical problem.