Garlic is often used to entice fish to feed due to it's 'aroma' - it can get a fish that hasn't eaten interested enough to feed, and 'get the ball rolling'. It's normally used in small amounts, not fed as whole cloves but mixed in with other food.
HTH
Martin