can you suddenly develop IBS?

TMI but I never had problems with pooping before pregnancy in fact I didn’t go enough but I’m 4 months pp and almost every time I eat I start feeling super sick and stomach pain, and diarrhea. Can it just suddenly happen?