I am confused about what subset of books you are referring to. Many expensive books, in the range you mentioned, are collectible editions of books still in print.
There was a big battle over whether Amazon would sell a book about transgender children. For a while, it was banned for a bit but then the company changed its mind.
https://www.intomore.com/culture/amazon-reverses-ban-abigail...