He is probably a stray — what typically happens is that someone had him as a kitten but they didn't get him neutered, as he got older and reached sexual maturity he became less interested in being a homely pet and instead began to roam further
afield in search of female cats or to take part in territory battles with other unneutered male cats.