It's just not usually explained like this: people tend to find average cost of production more "logical" a pricing mechanism, which means that market pricing is actually rather counter-intuitive.
But it's never explained properly. In the long run, we're all dead. John Maynard Keynes
But it's never explained properly.