It’s all about metabolizing what you eat.
It’s not just about garlic.
Red meat can cause a particular body odor, as does the curry/cumin that spices up some foods.
Cumin, in particular, can cause a lingering smell.
The sulfur in this food can make your urine stink.
Another sulfur compound, allicin, also is the culprit behind the smell when ingesting garlic.
Finally, the “holy trinity” of vegetables: broccoli, cabbage and brussels sprouts, can cause severe flatulence.
Again, sulfur is responsible for this problem.