Stocks have recently hit new highs, supported by strong earnings growth, but the bond market is sending a more cautious signal.