This is because the French language often assigns gender to countries based on their geographical features or common associations. In the case of the Philippines, it's a group of islands, which are generally considered feminine in French.
So, you would say "Les Philippines" (The Philippines) in French.