Diseases occasionally appear in your settlement. Some are caused by missing facilities (e.g. fresh water), while others are seasonal and cannot be prevented but their impact can be minimized with medicine. Ship exploration missions may bring back more severe versions of seasonal diseases.