Cooking jelly avoiding overboiling
One is heating the to edge of the base and consequently also the pan side-wall, the other is not.
The cooler pan side-wall will just make the difference between it boiling over and not.
This is assuming the centre of the pan is being heated to exactly the same degree on each, which is a larger variable.