This is because it's a proper noun referring to a city, and in French, most city names are masculine.