You're ASSUMING there was relatively minor damage. i.e. Flood damage cars. That car could have only been under water for a few seconds (i.e. My '02 Jetta GLX VR6) and look
PERFECT, but it's in reality a complete disaster. i.e. Electrical gremlins. I had that car into the shop
15 times before I finally threw in the towel.
These cars get totaled out by insurance because they are literally not worth the headache of trying to repair. i.e. The car I mentioned above. It looked perfect, but they literally spent more money in the 15 times I took it to the shop than the car was worth (and it was only six months old).
Edit: I'm willing to bet that there were a BUNCH of cars that received branded titles up in NJ a few years back that look just fine on the surface, but are a disaster under the surface. Pull Carfax reports and see where these cars were titled.