Sauté Vegetables: Drizzle the olive oil into the Instant Pot and set it to SAUTÉ mode. Once the oil is hot, add the diced onions. Stir and sauté until the onions are soft and beginning to brown, about 5 minutes. Add the minced garlic and sauté for an additional minute until it's fragrant.
Add Remaining Vegetables and Spices: Add the diced carrots and celery, thyme, ginger powder, salt, and pepper. Continue to sauté for about 2 more minutes.
Add Lentils: Add the red and green lentils to the pot, stirring well to coat with the sautéed vegetables and seasonings.
Add Liquids and Tomatoes: Pour the diced tomatoes, coconut milk, and vegetable broth. Stir well.
Pressure Cook: Place the lid on the Instant Pot, ensuring the valve is set to seal. Select the pressure cook setting, adjust it to high, and set the timer for 10 minutes. The Instant Pot will take approximately 10-15 minutes to come to pressure.
Natural Release: Once the cooking cycle is completed, allow the Instant Pot to release pressure for 10 minutes naturally. Afterward, use a spoon or cloth to carefully switch the valve to venting, performing a quick release for any remaining pressure.
Blend and Finish: This step is optional, but if you prefer a creamier consistency, remove 1 cup of the soup, allow it to cool, and then blend it. Return the blended portion to the pot.
Stir in the chopped spinach until it wilts from the residual heat of the soup.
Serve: Taste the soup and adjust seasonings as needed. Serve it hot, preferably with fresh bread. Optionally, garnish with parsley and grated Parmesan, if desired.