Owners are allowed to make digital copies for personal and archival use. They aren't allowed to transfer copies. The rights of digital ebook are in the license and most prohibit transfers. The rights of physical book are attached to the book.
Nobody notices or cares when done on personal scale. But publishers care when Internet Archive did it on large scale.