Public debt should really be called something other than debt since it behaves very differently from private debt, especially for nations with sovereign currencies.
It’s more of a security that tracks future national GDP; as long as you believe the US government will continue to exist and have the ability to tax a functioning US economy, treasuries have value.