Histoplasmosis is a fungal infection caused by dogs ingesting histoplasma capsulatum fungus, which can be found in contaminated soil and bird droppings (including poultry and bats), according to Pet MD. Once the fungus enters the dog's intestinal tract, it can cause the animal to become unwell.