Help - Baby refusing to drink

Hi there, I have a soon to be 7 month old.

For the past week we have struggled through every feed - she will smack the bottle, arch her back and cry out if feeding time is near.

Backstory:

- She has reflux since 2 months, put on Ranitidine and Motilium until now.

- Formula fed, no change in formula

- This pattern has happened before, refusal + vomiting, eased with medications, medications dosage has been increased by pediatrician, did well, now suddenly resurfaced. Her pediatrician is as baffled

- Amazing sleeper. Last feed at 9pm, sleeps from 9pm-8am with a sleep feeding of 3oz at 5am. Even though we gave a 4oz bottle she wont finish it (used to finish it up till a week ago). When she wakes up, we will offer a bottle at 9, but even then she will not drink it. Only managing 1oz

- Only eating 5 baby spoons of purees in the noon. Pediatrician say this minute amount is not supposed to change her intake (and the problem is not just the intake, she dislike drinking too).

And she had been on solids for 2 weeks plus, was okay with drinking then

- Could be teething: But each time we would put a teething gel before feeds and it made no effect

- Nipple flow changed, made no effect

She now totals to 17oz a day, when previously on medication she can be up to 24oz.

She is still otherwise active and happy, pediatrician couldnt pinpoint a reason why as well. If anyone had gone through this before please help :( Each feed is a struggle and it's making all of us stressed.