One of the milestones that you reach before your nation collapses is that the debt servicing cost (the interest payments on the debt) rises past what your nation spends on the military.
When a large part of the debt is foreign-owned, such a milestone increases the chances of war — i.e., if you are paying interest payments to other nations which are close to the same as what you pay domestically for your own defense.