Something sparkles when it gives off little sparks, or it looks like it gives off sparks. If something reflects lots of small points of light, like the sparkling wave in the picture, it is said to sparkle.
Wine that has bubbles in it is also described as sparkling.