Sentence: The fish ate the worm. It was hungry.
 Reason: The 'It' refers to the fish because The pronoun probably refers to the worm because it was eaten and was tasty. 
 Question: Is the above reasoning correct or wrong? 