This is actually a pretty common symptom of IBS. The whole digestive system is linked together from beginning to end. So when you eat, you are basically turning the system on and it gets stimulated and starts working (the whole system). That is the reason for the BM not long after eating. When my anxiety and IBS flare, this happens to me all the time.
Hope that information helps. Take good care.