This question already has an answer here:
The first time each day you right-click on farm animals you get a heart, like with your pet. Does this have any effect?
Particularly related to the 5 heart "progress bar" thing you get when you right-click them the next time. Or is that heart "progress bar" just something that grows as long as the animal has food?