A truffle is an underground fruiting body. Wind will not carry its spores, and no bee is coming. The fungus spends heavily on smell instead. When the fruit is ripe it releases a mix of volatile chemicals. Mammals that can smell them dig, eat, travel, and leave the spores in droppings, ready to meet a root.
Richard Splivallo and colleagues reviewed that chemistry in New Phytologist in 2011. People joined the audience late, first with pigs and then with trained dogs. The dogs are a tool. The original audience is wild animals, boar or rodents or insects, depending on the species. If the smell seems like too much, that is the design. Underground, a subtle fruit would be a wasted spore.