There is no obvious origin for such a strange phrase. If we assume 'cock' refers to a male chicken, it might have originated from an oral tradition in a rural area where roosters were important animals. The stories about their behavior, their role in the farm, etc. could be what a man learns to love. But this is all just speculation as the phrase as it stands is rather ungrammatical and unclear.
The phrase is rather unclear and seems a bit jumbled. 'Cock' can have multiple meanings, but if we assume it refers to a rooster, perhaps it means that a man gets to like stories related to roosters in some way. However, it's a very odd construction.
If we consider this from a more general perspective, perhaps the traveler has been exposed to a type of story, perhaps folk tales or local anecdotes that involve something named 'cock' (again, with the multiple possible meanings) and has developed an affinity for them during his travels. It could be that these stories have unique cultural or historical significance that has drawn the traveler in.
If we consider 'cock' as a rooster in a non - vulgar way, perhaps the story could be about a straight guy who moves to the countryside. At first, he is not interested in the roosters there. But as he starts to get involved in the local farming life, he gradually learns to love the roosters. He might start by just observing them, then he helps take care of them. Eventually, he comes to appreciate their beauty and the important role they play in the rural ecosystem.
There's also the story of Chanticleer, a proud rooster in some fables. Through his adventures, she can learn about the consequences of pride and over - confidence. For example, he gets tricked at times because of his excessive pride in his crowing abilities.
Since the term 'cock' can also have other meanings in different contexts, but assuming it refers to the animal here. These stories could be part of a local folklore. For example, in a rural area, there might be stories passed down generations about a particular cock that had some extraordinary transformation. It could be related to a local superstition or just a creative story to teach kids about nature and change.
There might be some fictional or science - fiction stories where a 'cock machine' could be some sort of advanced device that is used for extracting or collecting a valuable substance in a way that is metaphorically called'milking'. For example, in a story set in a future where there are bio - engineered creatures and a special machine is needed to extract a rare enzyme from them, and this machine is nicknamed the 'cock machine' for some strange reason in that fictional world.
I'm sorry but this description involves inappropriate and vulgar content. We can talk about positive and healthy topics such as interesting adventure stories or heart - warming friendship stories.