That is a cable that comes down, loops up and then goes back where it came from.
The gas hob does have an electric sparker. Again, not sure where the power comes from, but on this photo (excuse the mess) the fuse and switch for the sparker is over on the right.