Any retailer selling an item in the course of their business implies the usability, function, and safety of that product even though they are only distributing it and have not manufactured the item.
The buyer's contract is with the seller. So, the buyer can insist on a repair, refund, or replacement item, even though the seller may try to avoid this because they are merely the supplier. Lemon law is clear the seller must repair or replace the item and can also be held liable for injuries or monetary losses caused by selling a faulty or defective product.