Sometimes the owners want to cash in and retire after decades of operating their business. Selling to PE is one way to do that.
For example, Family Dining restaurants (i.e, relatively cheap sit down restaurants where the appeal is more the service than the food like Red Lobster, Chili's, Applebees, etc) are doomed, and have been for a while. Millennials and younger, on average, value table service less than their parents did, preferring fast casual restaurants (restaurants where you order at the counter, but are a step up from fast food) with better food in the same price bracket. This trend is widely known, so there's a shortage of people willing to buy up family dining franchises. But there's a lot of capital tied up in these restaurants. So in swoops PE, to basically bet that they can make more money killing the business than its current owners are able/willing to.
This may have been true in the past, but in today's world, normal people have an increasingly hard time affording the things that our parents took for granted (y'know, things like a modest house, a vacation every 2-3 years, decent food). If the owners of a small local business are offered the opportunity to cash out and retire with enough money that they can guarantee their reasonable comfort for the rest of their lives (barring total societal collapse), they're not going to worry about what's "healthy" or "thriving". And PE companies can afford to do that.
Nor does the fact that they're struggling reflect on the industry that the local business happens to be in. It reflects on our entire system today.
Enter PE. They buy out the old practitioner, hire the young one that would have ideally bought the place themselves, then proceed to gradually dismantle the business. Divest all the capital assets, fire all the institutional knowledge, and even convert the business's accumulated customer good will into cold hard cash by exploiting the hell out of them.
Then it's just a matter of running the hollowed-out shell of business until a stiff breeze leads to complete bankruptcy.