Answer:
B. Misplaced modifier
Step-by-step explanation:
A misplaced modifier is a word, phrase, or clause that is separated from the word it describes.
Swimming in frantic circles describes the noun fish, but the way the sentence written makes the reader think it is the cat that is swimming.
So it should be
The cat was attracted to the fish swimming in frantic circles.