A tribe subjected by a stronger one often feels that its own gods are weaker, and so they are discredited, and that those of its conquerors are mighty and so they prevail. Occasionally vistors^([sic]) seem to cherish rancor against the religion of their victims, and hence many devils are really exgods, thus degraded.
Source: wiktionary