That pricing really only started in 2010. Prior to that, publishers would sell them to Amazon at (presumably) a similar cost to wholesale physical books, and Amazon would mark them up much less than the physical books.