Stocks took their cue from the bond market this week.