Top Burner igniter

The right front burner stopped sparking, I switched wires with the left and it works fine but of course the left one doesn’t. What could be the problem?