What people fail to realize is that ebooks sometimes cost libraries more money than physical books. The libraries buy them with cost of degradation in mind, so after x number of lends, they have to repurchase the book in order to keep making it available to their patrons. This is how they're able to make an agreement with the publisher in order to legally provide you with a digital lending library.