It's possible that the combination that was in her stomach just didn't agree with her. Was there a lot of mucus in the vomit? Indicating swallowing a lot of postnasal drip?
My kids always vomited up the Flintstones because those things have too much food dye in them. We had to switch to Gummi Vites, which taste much better and aren't sugary. Plus they're allergen free.
I also would NOT have given her Tylenol simply for some body aches. You risk masking an oncoming fever or other issues prior to the symptoms showing up, symptoms you would need to know about later.
Anyway, one way or another her body rejected what you gave her for a reason. I might suggest finding dye-free versions of those products AND waiting longer before you give her things like that in your effort to head things off at the pass.