Start the Instant Pot in the Saute Mode - normal, and pour the oil in the inner pot, and let it heat up for a couple of minutes.
Once the oil has warmed a little, add the chopped ginger and garlic together. Mix well and saute for 2-3 minutes, till the ginger and garlic start turning light reddish in color.
Then add in the chopped onion along with the salt. Mix well, and saute till the onions turn light (or deeper) golden brown in color (based on your preference). I usually aim for really well roasted onions.
At this point, you can switch the saute mode from normal to high for browning onions faster. Just ensure to keep moving the onions around, so that they don’t stick to the bottom and burn.
Once the onions are done, add in the spice powders, mix well, and saute for 1-2 minutes, till the masalas get lightly cooked. Add a splash of water, if required, so that the masalas don’t stick to the bottom & burn.
Finally, add in the chopped tomatoes, and saute for a couple of minutes, before turning off the saute mode.
At this point, depending on how watery your tomatoes are, you might need to add ½ cup of water.
Then close the Instant Pot lid, after ensuring the sealing ring is securely in place, and position the steam release knob to sealing.
Pressure cook for 2 minutes on high pressure, and then once the cooking cycle is complete, let the pressure release naturally.