Gastrointestinal parasites, quite possibly. Yes, it is a prolapse cloaca. Time to go to the vet.