This is currently more or less true, but historically speaking, sovereign default has often been used as a
casus belli for invasion; that's where the Monroe doctrine comes from, after all. The collapsing
Pax Americana is arguably the reason we haven't seen it happen in decades, so it would be unsurprising to see it start to happen again.
And of course financial considerations are often a first-order consideration in military conflict even today.