From what I understand, and I may be wrong, but nobody is 100% sure where the word originates from. The explanation seen as most plausible by most is that it is an abbreviation of association football that originates from england in the same way that "rugger" is an abbreviation of rugby football.