Earlier quoted context omitted.
They recalled a quarter million power banks because they were catching fire. Everybody uses the same factories and Amazon doesn't have better quality control than anyone else.
To be fair, Samsung had to scrap a whole phone model because of battery problems. The Boeing 787 suffered with problems of batteries catching fire (and according to some reports still does). It's a tricky problem to avoid.
Batteries are a different story because they're basically tiny plastic bombs. Somehow Samsung managed to deliver almost 15 years of Android phones before having their batteries catch fire, and that was almost certainly a result of skipping essential QA/Verification processes because they've never had a problem before.