The margin calls are coming from interest rate swaps they did to mitigate accounting risk on their long term liabilities.
When rates fall, pensions take huge paper losses because the present value of liabilities moves inversely with interest rates. To hedge this risk, you enter into a swap with a bank to essentially pay current floating interest rates (in return for receiving a fixed rate). This swap's value moves in the opposite direction of the liabilities.
Unfortunately because rates moved up so quickly, these swap trades are deep in the red. Even so, the funds should not be going bankrupt from these trades, because the losses net against enormous accounting gains from their liabilities being worth less.
Anyway, this is a complicated and technical story about the interaction between bond math, accounting, and liquidity risk. There is a lot to criticize, but the moralizing version of 'greedy pension fund managers borrowed to juice yields' is not quite accurate, and Matt Levine's article is a good source (although he doesn't get into the nitty gritty of interest rate swaps).