My understanding is that libraries do pay fees to stock books, some of which goes back to the original author. Anna's Archive does not pay anything back to the authors.