Gods of disease are also often gods of healing, or vice versa, because you pray to them to not get you sick, or to appease them so they lift the sickness. Take Apollo, for example.
This applies to other gods of things people fear. Yes, they are responsible for the bad, scary thing, but they are...