Halwa recipes repeat one instruction more than any other: keep stirring. It reads like caution, but the stirring is doing three distinct jobs that the dish depends on.
Stirring controls how the starch hydrates
Starch granules swell when they meet hot liquid, and they do it unevenly if the liquid is not moving.
Left alone, the granules that meet liquid first swell fully and clump together, trapping dry pockets inside that never hydrate at all.
Constant movement keeps granules separated while they absorb, which is what produces a uniform texture rather than a lumpy one with dry centers.
It prevents the base from scorching
A halwa contains sugar and often dairy, both of which brown readily, and it thickens as it cooks so it conducts heat poorly.
Once thick, the mixture at the base is effectively insulated from the mixture above it, and it will burn while the top is still fine.
Scraping the base continuously moves that hot layer up and cooler material down, which is why the instruction usually specifies scraping rather than merely stirring.
It disperses the fat through the mixture
Ghee is added in stages and has to coat the swollen starch granules to give the finished halwa its gloss and its slack, spoonable texture.
Without agitation the fat pools at the surface or the edges instead of coating anything, and it separates out as the dish cools.
The visual sign that this has worked is fat beading at the edges of the mass while the body stays glossy, which is the traditional endpoint cue.
The stirring changes character during cooking
Early on, while toasting the flour or semolina in fat, the motion is fast and light, keeping grains moving so they color evenly.
After liquid is added the mixture is heavy and the motion becomes a slow fold with a flat spatula, reaching the base and the corners.
Recipes that specify a wooden or flat-edged spatula are being practical, since a round spoon rides over the base and misses the layer that burns.
The pan choice reduces how much stirring is needed
A heavy, wide pan spreads the heat and slows the formation of hot spots, so a cook has more margin between stirs than a thin pan allows.
Lower heat and a longer cook does the same, which is the standard trade when the pan available is not ideal.
Neither substitutes for attention entirely, which is why halwa is made in the size that can be watched from start to finish rather than in the size that would be convenient.