the remaining $13bn was a loan Twitter took out to buy itself on their behalf.
That's truly some Hollywood-accounting-style bullshit. I couldn't even imagine the paradoxical mathematics it took to make that happen.
It would be like me paying you to buy a candy bar from me.