My go-to method for most anything Mexican or South Asian.
The only way to cook with these is to make it fat (fat absorbes the taste) and not cook it under high temperature. That’s why the sauce is added at the end in many chinese or japanese dishes.
And of course, adding it at the end uncooked always works wonders.
EDIT: Asked my wife who is a biologist, and her hypothesis, if that’s true, is just that salt added later (independently of heat) just tends to still float and cluster together. So you might get more from an individual bite, especially the first few? Very different from actual spices which do break down under heat of course.
My experience (limited as is), if salt is added in the boiling water prior to putting veggies or meat, it would be eventually absorbed and also diluted with the moisture and the flavor of the veggies and meat. This also reduces the "contrast" between the flavors, thus prompting more salt added at serving.
Italians will tell you that it's blasphemous not to put salt to cook your pasta, but there's honestly 0 differences (I suggest trying both ways and seeing that for yourself). What makes a real difference when you cook pasta is cooking it in stock though.
I've also noticed that a lot of salty/garlic-y concentrated products (that are probably already cooked, think Asian pastes) will conserve their taste well when cooked with. I'm still wondering why.