It depends on the carrier. For the major carriers, there is a standard activation policy that automatically sets the APN.
For MVNOs who buy at wholesale rates from the the major carriers and sell to retail users it can be different. In many cases the APN set by the activation policy is not correct for these carriers and has to be set manually by the user. In such cases Apple is not setting the APN the user needs.