Look up CAR, Freddie & Fanny, etc., etc. There are plenty of threads right here to fill you in.
I think factually what caused this situation is, Redlining. Banks had to lend to ARM's to high risk, high debt to income clients.
In other words - OVER REGULATION.
Whoops. I said “CAR”. I meant CRA. Now everything should be clear.