80% of the time I buy something from Amazon what I get feels very much like I went to a garage sale. Defective products, opened packaging, mismatch with what was on the site, etc.
Honest question - I don't buy books often.
I noticed the same thing with other stuff from Amazon. E.g. 3 of the Amazon basic HDMI cables I ordered didn't work. Ordered similarly priced ones at a local retailer and they worked like a charm - all of them.
I am not the only person who noticed that Amazon's quality has dropped in recent years.
Edit: one thing I forgot to mention: one of the faulty books was also clearly used, there was even a coffee (?) stain inside. This is not something that happens because the publisher has bad quality control.
These days (unless there's absolutely no other option), the only books I buy from Amazon are audio books.