15 week old daughter won't drink properly and she has a upset tummy

Sa

My daughter is 15 weeks old and sometimes she feeds every 4-7 hours such concerns me and my midwife says she's not putting on enough weight. She sometimes refuses formula and I've tried everything and she cracks it when I try and give it to her.. I changed formula, she sometimes has a upset stomach and I give her infant friends and gripe water. I'm absolutely lost for words. She's currently on the nan comfort but she's also been on Karicare soy (I thought the soy would be better for her stomach) any idea would really appreciate it.