Affinity magic comes from anything in this world that causes magic to change its form. Take fire affinity magic, for example, it can come from a being with that affinity or anything that is related like a wildfire and a volcano. This same thing applies to all affinities.