Why does a gas stove click but fail to ignite?

https://kitchenfixjournal.almoheet-travel.com/why-does-a-gas-stove-click-but-fail-to-ignite

When a gas stove clicks but fails to ignite, the most likely cause is a blocked or dirty igniter that cannot produce a spark, or a gas port clogged with food debris. Moisture around the burner can also prevent proper sparking. If there is no gas smell, the supply itself might be off. A faint clicking sound that never leads to flame indicates the spark is not reaching the gas.