Answer:
B. Misplaced modifier
Explanation:
A misplaced modifier is a clause, word or group of words that is separated from the word it modifies in a sentence.
"Swimming in frantic circles" performs the function of modifying the noun "fish" but because it is separated from the word it modifies, it causes ambiguity as it is unclear if the cat is swimming or the fish.
One way to correct the sentence is "The cat was attracted to the fish that was swimming in frantic circles"