Take a pan and add 2 tsp oil.
Fry coconut, red chillies, and garlic till light brown.
Remove from pan and let it cool.
In the same pan, fry tomatoes, onion, and coriander leaves. Remove from flame and let it cool.
First grind the fried coconut, red chilli, and garlic mix.
Then add the fried tomato, onion, coriander leaves, and salt and tamarind pulp.