Do you know ghouls from goblins and ghosts?
13c., weffe "foul scent or odor," of imitative origin. Modern form became popular late 16c. with tobacco smoking, probably influenced by whiffle "blow in gusts or puffs" (1560s). The verb in the baseball slang sense "to swing at a ball and miss" first recorded 1913.