Not taking any stances here, but the difference is a library book can only be used by one person at a time, and it eventually wears out and has to be replaced.
Neither of those are true for digital works.