I would guess either an infected injury or a cyst
cysts can develop sometimes rapidly
either way antibiotics would help
it's extremely rare, though not impossible, for a tumour to develop so fast