Gassy 2 week old

Kate
My baby has been extremely gassy since he was born. Is this my fault? I eat mostly everything in moderation but have stayed away from broccoli and spicy foods. Should I be cutting something else out or is this just how some babies are?? Please help! Thanks :)