In a large pan or Dutch oven, heat oil on medium-high for 1 minute. Add chopped onion and sauté until translucent, about 3 minutes. Then, add chopped garlic, ginger, and diced carrots for an additional 2 minutes, stirring frequently. Add in spices of turmeric, cumin, coriander, red chili flakes, sea salt, and black pepper. Stir to combine. Add a few tablespoons of water if needed to prevent drying out.