Onions are often cooked separately from spices to ensure they are fully caramelized and softened, preventing them from burning while allowing the spices to bloom properly in the hot oil or ghee.
Onions contain a high amount of moisture and take a longer time to cook and caramelize properly. If spices are added too early, they can burn before the onions have softened and released their sweetness. Cooking the onions first allows them to develop a rich, deep flavor and a desirable texture. Once the onions are properly cooked, the spices are added to the hot oil or ghee. This process, known as 'blooming' the spices, releases their essential oils and aromas, enhancing the overall flavor of the dish. The moisture from the onions, now reduced, helps to carry the spice flavors throughout the dish. This two-step process ensures that both the onions and spices contribute their optimal flavors to the final product.
To prevent onions from sticking and burning while caramelizing, add a pinch of salt at the beginning of the cooking process. The salt helps draw out moisture from the onions, which aids in browning and prevents them from scorching.