I always rinse and soak the yellow dals (toor & moong dal) until I am prepping the other ingredients.
Turn on Instant Pot in sauté mode; heat ghee or oil.
Add the onions, ginger, garlic and green chili paste & spices and sauté until fragrant.
Add chopped tomatoes and salt; cook until soft and the oil seperates
Add soaked dal and water, stir.
Close the lid, seal the vent & pressure cook on high for 6 minutes (I add 2 more minutes if dal is not soaked well)
I allow the pressure to release naturally for 5 minutes, then quick release remaining pressure.
Prepare tadka (tempering) separately: heat ghee, add cumin seeds, asafoetida, ginger garlic an dgreen chili paste, the spices again, dried red chilies, red chili powder; fry briefly.
Pour hot tadka over cooked dal, garnish with chopped cilantro and optionally squeeze some lemon juice.
Serve dal and rice hot together for a complete, flavorful meal.