It could be a reaction to the spider bite. But if it was more than a few days ago this is not likely. Maybe the bite left a small wound which got infected. When there is an infection your arm should also be painful, warm and red. Maybe you kept your arm to quiet because of the bite.