From your article.
It’s also the case that the government accumulated $7.8 trillion of gross federal debt while President Trump was in office, though much of this is unrelated to President Trump’s actions.
However, much of this borrowing was due to policies put in place before President Trump took office or due to unexpected changes in circumstance. Debt was already projected to grow by about $3 trillion for the four years of his term when President Trump took office, and some of the additional debt accrued was also the direct result of the COVID-19 pandemic and recession. It’s also important to note that the government was holding an unusually large $1.6 trillion in cash when President Trump left office, which inflated the growth in debt relative to the deficit run during his time in office.