The arithmetic people skip
A cash-out refinance replaces the entire first mortgage. That means the rate on the new loan applies to the whole balance, not just the cash being taken out.
When the existing first carries a rate well below what is available today, that trade can cost far more over time than the equity being accessed is worth. A second lien avoids the trade entirely, the first stays exactly where it is and the new loan sits behind it.