You seem to be suffering from irritable bowel syndrome.
Usually all tests will be normal.
It could happen due to multiple reasons like after some intestinal infection, after hospitalization, due to stress, due to change in food habits, .. etc.
Treatment would be to stop thinking about the problem.
Avoid eating any food which causes more gas and loose stools
If symptoms persist , you will need medications.
Health Tips
yoga and exercise help in increasing positive chemicals in body and reduce symptoms