The brunt of the blame goes on the consumer (dem, gop, ind) who assumed a loan they could not pay back. Free market principles just do what they do.
Derivatives are to blame.
The mortgage companies could lend more and more money with less and less to back it up. The same thing happened with stocks being bought on margin in the 1929.