Both are the result of an overactive immune system—but some of their symptoms and risk factors can be quite different.