The "self-funding" of Social Security and Medicare are mere accounting tricks and not reflective of objective reality.
When either of these programs take in more tax revenue than their expenses, they purchase T-bills with that surplus. When they have more expenses than revenues, they sell some...