gassy baby

My baby is two weeks old, she's been having a lot of gas and she will pull her legs up and grunt. She does this really bad when I lay her down in her bassinet. She is a BF baby only.. I have gripe water and it seems to help for a little bit.. could i be eating something that's making her stomach hurt?☹️