The markets were heavily influenced by the government. Risk was removed because of the GSE status of Fannie and Freddie. At the same time the government (both Congress and the president through HUD) pushed Fannie and Freddie to take on more risk to "help the poor".