Libraries cannot buy used because they need the asset prepared for circulation. This includes a protective cover, barcoding, etc. They usually have a vendor do this preparation, and the assets (books, usually) are often not the same as what you would find in a store, they can be different sizes to fit in Automatic Materials Handling Systems, have more robust binding, etc.