She did it because Triss and Geralt's romance made her envious. Ciri didn't like the idea that Triss wanted to be with Geralt and was obviously in love with him.