It sounds like you had a pretty frustrating experience with sharing popsicles! It's tough when someone doesn't seem to appreciate the compromises you're making. You let her pick the majority of the colors and even agreed to let her have all of them, which shows that you were trying to be fair and generous. It’s understandable that you felt upset when she kept changing her mind about what colors you could have after you had already compromised.
When you decided to let her have red and picked green instead, only for her to change her mind again, it must have felt really disheartening. The way she rubbed it in your face after that likely added to your frustration, especially since you were simply trying to enjoy the little popsicle experience you had left.
It might help to communicate your feelings with her in a calm way when things are less heated. Let her know how you felt during the situation and that sharing should be about both people feeling happy with their choices. Sometimes, a little open conversation can help avoid conflicts in the future. Remember, it's important to stand up for yourself while also trying to find a solution that works for both of you.