before either tom or jack had a chance to frame a reply , a hideous scream pierced the night , seeming to come from somewhere close by , although the dense fog made it impossible to see what might be the cause .