Heat oil in a heavy bottom pan, add cinnamon sticks, peppercorns, cloves, cardamom, and bay leaves.
Add in onions and ginger garlic paste and sauté it for 4-5 minutes in medium flame until the onions turn light golden brown.
Next add in chopped tomato and sauté until the tomato turns soft and mushy. Add cumin powder, coriander powder, fennel powder, turmeric, salt, and paprika. Cook for 2-3 minutes.
Reduce the flame to low and add yogurt, mix well.
Add the cut pumpkin and eggplant, mix and add water. Cover and cook for 15 minutes until the pumpkin is tender.
Sprinkle garam masala on top and switch off the flame.