Looks like he rubbed it while shedding, or beginning to shed (and continued to rub the same spot for the last two sheds). Keep an eye on it and a vet visit may be in order if it swells up or becomes an open wound.