Cup and bottle

How can I get my baby to drink her formula from cup instead of bottle? I’ve offered it in the cup a few times but she doesn’t like it and if she tries it she just starts gagging because she doesn’t like the milk in the cup. She drinks water very well from the same cup so I don’t know what to do