Global oil prices rise sharply after Hamas attack on Israel