Gassy baby

Lucy

My 3 week old has been gassy since we came home from the hospital. She is EBF. Last night/early morning she had the worst gas she’s had yet and was screaming whenever she tried to pass gas or poop. When I changed her this was her diaper. Is this normal? My first never had diapers like this or gas. She’ll go a few days and be completely fine with no gas and then it comes back. Any advice? Is this poop normal?