The stock market took a gut punch recently as a number of on-again, off-again headwinds started to blow at the same time.