Sometimes during a water change snails can get upset and leave trails, if you have any snails. Other than that they could be tiny white worms called Planaria. They aren’t harmful, they will go away on their own. Try looking closely with a magnifying glass if you can, they may be little worms...