The weaker-than-expected data caused concerns that demand for oil might be affected.