The main reason for the shaky finances that prompted the takeovers were investments in private-label subprime mortgage bonds, containing loans that didn’t qualify to be backed by the two companies but were bought as a way to fulfill their Congressional mandate to invest in affordable housing.
It flat out tells you how the government blackmailed, then raped the twins.