Press Saute in an Instant Pot and add oil in the pot. When the oil is hot, add cumin seeds and onion. Once the onions start getting brown, add tomatoes and let them cook for 5 mins and stir in between so they don't stick at the bottom of the pot.
Once tomatoes are mushy, add Ginger-Garlic paste and let it cook for 1-2 mins. Then add all the spices including garam masala, coriander powder, red chili powder to the pot and cook for another 1 minute.
Add Spinach in the Instant Pot with ¼ cup of water & salt. With the vent in the sealing position, pressure cook for 3 minutes. NPR (No Pressure Release) for 5 minutes and then Quick Release.
When the pressure is released and the valve goes down, open the lid. Then, using a handmasher, mash spinach coarsely. You can also use an Immersion Blender to blend the spinach.
Add corns in the pot. Press Saute and cook until you get desired consistency (you can add more water to make it into curry).
Tempering: Add oil/ghee to the skillet. Then add cumin seeds. once they splutter, then add sliced garlic. When the garlic starts to change color, add Kashmiri red chili powder and fry for 1 minute.
Add this prepared tempering over the palak corns and serve with Indian flatbread or rice.