Sounds like colic to me, especially if shes bringing her legs up.
Jesse suffered this a few times and were told my Tresillian to lay him down and gently move his legs like he's riding a bike. Either that or try rubbing her belly in a clockwise motion.
After this i started stopping and burping him several times during his bottle which seemed to stop him from getting so much wind caught up.