Let $\{A_i: i \in I\}$ be a nonempty family of nonempty sets. Why is it allowed to prove the Axiom of Choice using the Well Ordering Principle as follows:
There is a well-ordering of $\cup_{i \in I} A_i$. Using this order, there is a first element in each $A_i$. Let $f(i)$ be this first element. Then $f$ is a choice function for this family.
But not to `prove' the Axiom of Choice directly as follows:
Each $A_i$ is nonempty: there is an element of $A_i$. Let $f(i)$ be this element. Then $f$ is a choice function for this family.
Both arguments appeal to the existence of some unspecified object (what well-order? what element of $A_i$?); why is that fine in the first case, but not the second? (The former approach, for instance, is from Aliprantis and Border, Infinite Dimensional Analysis, 3rd ed, p. 20.)
I must admit that I have only read about naive set theory, not axiomatic set theory: perhaps I just haven't learned the rules of the game.