In addition to the other excellent answers about parenting and trial-and-error, consider the role that evolution plays. If an animal takes a liking to the taste of something that kills it, then it is dead and cannot have children. If another member of the same species ends up not liking the taste of that plant and never eats enough of it to kill itself that one will have children, passing on its genes which may result in their children not liking the taste of that plant as well.
Latest Answers