Oil is increasingly calling the tune in global markets as rising energy prices make investors nervous.