Queefing and gas...

Sorry for the tmi so last night my husband and i were having sex and for some reason there was a lot of queefing for a while now the next morning (today ) i woke up with the worst back and stomach pain like if i had trapped gas. Is it possible to get gas trapped from sex ??