Many of the things that we eat that have “sweet” as part of the flavor profile also have fats as part of ingredients - those are things that cats do taste and recognize.
When one looks at cat treats, the fat component is higher than non-treat cat food.