Ok. That makes sense... I was thinking about supermarkets/grocery stores when I originally asked the question, as they do this all the time. The situation is different when there's an author who'll complain.
More precisely, when Amazon sells a loss leader, they don't pay the author wholesale price. When a grocery sells milk cheap, they still pay full price to the dairy vendor.