"Tom" refers to boiling process, while "yam" refers to a kind of Lao and Thai spicy and sour salad.
Tom refers to boiling process (soup, in this case). "Yam" refers to a kind of Lao and Thai spicy and sour salad.