Meanwhile, in a large stock pot, heat the oil over medium-high heat. Add the onions and sauté until translucent, about 10 minutes. Add the garlic and ginger and sauté until fragrant, about 1 minute. Add the curry powder, turmeric, cumin, and salt and stir until combined. Add the tomato paste and stir to incorporate until the paste darkens, 1-2 minutes. Add ⅓ cup of the reserved cooking water and mix to combine. Add the cardamom pods, cloves, apricot jam, Indian chili pepper (if using), and additional cooking water as needed, to form a thick paste similar to that of a pea soup.