This is because the word is a plural noun, referring to two towns that were historically merged. In French, plural nouns ending in "-s" often have the "s" pronounced only when the next word begins with a vowel sound. However, in this case, the following word "Andelys" starts with a consonant, so the "s" is silent.