Quite interesting, did not know things worked like this in the US.
In France, from my understanding, there is "Les retours" ("The returns"), a system where libraries have one year to send unsold books backs, then the distributor usually dispatch them to their libraries or as a stock for online sales.