The prospect of an abrupt supply shock in the energy market is making investors increasingly nervous about the possibility of oil prices soaring above $100 a barrel before year-end.