Stove burner sparking occurs when the ignition system generates a high voltage spark, which is then transferred to the burner via the spark electrode. This spark ignites the gas, creating a controlled flame for cooking.