Your indoor cat can still have diarrhea even when it isn't exposed outside. This can come from a change in its diet or intolerance to certain ingredients in new food. Sometimes, it might be that as members of your household go out or a visitor comes in, they bring in bacteria that affect the cat's health.