In this task, you need to translate the given English sentence to the French language

Why, in your view, are some names unflattering while others are complimentary?
Pourquoi, selon toi, certains noms sont-ils insultants tandis que d’autres sont plutôt flatteurs?