Oil prices have climbed over fears the war could embroil the wider Gulf region, which is critical for the production and transport of a large share of global oil output.