Cryptosporidiosis is an infection that causes diarrhea. It is caused by a parasite. Most people get the parasite after swallowing food or water tainted with stool. This includes swallowing water while swimming. Diarrhea, vomiting, and weight loss are the most common symptoms.