You might want to try reading the book “Irrational Exuberance” by Robert Schiller. The second edition is out now. It talks about real estate bubbles as well as stock market bubbles. He believes that psychology plays a major role in the formation of bubbles. He supports his views with a lot of historical data and psychological studies. I definitely recommend it.