can baby moving cause gas?

I'm 18 weeks pregnant and sure I can feel the baby moving about 3 times a day but nearly every time straight after I pass gas! It's been happening for about a week. Is it the baby moving causing it or is it just gas all along?! Thanks