Thank you for your query,
Your child seems to have colic and flatulence
which is common around this age group.
No need to change formula feeds for the sake of colic and wind.
Burp the child after each feed and you can give antiflatulent drops to the infant after consulting your doctor.
For colic you can give simethicone
drops in prescribed dose.
If colic is there, hold the baby tummy against the shoulder or just do massage
Still problems persist, consult the Pediatrician
for the proper advise.
Hope I have answered your query.