Oil prices shoot up and US stocks decline as Hamas’ attack on Israel rattles markets