American Airlines said in a statement that the flight experienced an engine-related issue after taxiing to the gate.