How it works
This sentence uses two different markers for two jobs. は (topic) sets 猫 (cat) as the topic — “as for the cat…” — while が (subject) marks 魚 (fish) as what the feeling targets. With 大好き (love), the pattern reads literally “as for the cat, fish is loved,” i.e. “the cat loves fish.”