In case you're wondering, what you saw was the creation of a necklace made with Fulgurite, a type of glass that's formed when lightning strikes sand. https://en.wikipedia.org/wiki/Fulgurite
It's even possible to be artificially made: https://www.thoughtco.com/fulgurite-overview-and-instructions-603676