Ebay is a company, they can choose to sell (or not) whatever they wish (within legal bounds).
That doesn't violate First Sale Principle, nobody is stopping you from selling the book, Ebay just doesn't want you to use its platform to do so - which is entirely in its rights. There's a large number of items which Ebay won't allow to be sold, including souls.[1]
[1] https://www.businessinsider.com/soul-listing-policy-ebay-201...