Sure. But the US has substantial domestic production. So China (and everyone else who has to import the majority of their oil) gets hurt more.
However... higher oil prices also increase energy prices across the board, and China's energy sector is dominant in renewables. I think they're more than happy to have the competing energy sources become even more expensive.