But if their debt goes bad, isn’t that debt the very bonds that make up the other part of those asset allocations?

Typical total bond market fund like BND is ~70% in USG -- pretty solid:

https://investor.vanguard.com/investment-products/etfs/profi...