Subpar profit outlooks from two of the largest U.S. retailers fueled a broad decline in stock prices Tuesday, as investors increasingly heed the calls that this year’s rally may be little more than a mirage.