People buy stocks to get rich. People buy Treasuries because they ARE rich
The Treasury bond market figured out WAY back in 2010 that the economy was not going to float back from China. Since then, not withstanding three rounds of failed money printing, it hasn't wavered in its assessment.