There are 4 common reasons why your gas stove top keeps clicking without igniting when you try to turn it on:
The burner cap is out of alignment and needs adjusted.
Excess moisture prevents the igniter from lighting up.
Food or debris is stuck in the holes and prevents gas from coming out.
The spark module or spark switch are damaged.