Grind chillies, 3 garlic cloves, jeera, peppercorns, turmeric powder, coriander, tamarind to a fine paste.
Clean the cockles/kubes and keep it aside.
Keep a wok, add 1 tbsp coconut oil and add the ground paste and fry well.
Add the cockles, little masala water, garam masala and mix well. Cook it till the cockles are cooked. Add salt to taste.
Add grated coconut and mix it well. Saute for a few minutes. Switch off the gas.
Keep a pan, add 1 tbsp coconut oil and add mustard seeds. Once the mustard seeds pop, add garlic cloves and fry till golden brown on a medium flame, add the curry leaves and switch off the flame.
Add this to the cockles and close the lid.
Serve hot with rice and rasam/dal/sar.