It is difficult to give a specific cause for why one person experiences an unpleasant feeling while another person experiences a pleasant feeling while a third person experiences a neutral feeling all from making contact with the same object and using the same sense base.
There could be many reasons. We must remember that one cause has as its basis many other causes which again has many other causes as their basis which again has... You get the meaning. The workings of kamma is very difficult to comprehend and the Buddha remained silent on topics like that. You have to be a Buddha to fully comprehend this extremely fine-woven, interpenetrated, interrelated web of causes and effects in order to precisely pinpoint why one person feels a certain feeling while another feels something different. Take a look at the Four Imponderables
I once listened to a video where a man told about a phenomenological thought-experiment based on the cultural bagage of people meaning the different experiences that a person had in life that molded that person into who they are. This is more philosophical than buddhist but i think it can illustrate how this mechanism works.
We have 30 people sitting in a room. All together next to each other. 15 meters in front of them is a gramophone player. Soon it begins to play. It plays Beethoven Symphony No. 9. Sound travels at 343,59 metres pr. second but now we slow down the sound waves to a few metres pr. second. The song is now being played. The sound waves begin to travel towards the people in the room.
At this point the sound waves are mid ways into the room. They have not yet reached the people. At that point the sound waves now represent all the different feelings those people can produce. They can all produce the same feelings since they are human beings and therefore have a specific amount of feelings in their register.
Now the sound waves hit the people and the people make contact with the sound. Now feelings begin to emerge in those people. One person feels joy. Another person begins to cry. One person feels anger. Another feels sadness. Another person also feels joy.
All these people feel different feelings based on the same object - those sound waves. Some also feel the same feelings. Now why do they feel different feelings?
According to the cultural bagage they all have different childhood, experiences, likes, dislikes, external influences etc. All these are the reasons for why they experience the object differently. As i said before this is not buddhism BUT if you can see the mechanism beneath you can get the idea of the interwoven set of causes that cause people to experience the same object with the same sense base differently.
In the same way when speaking in buddhist terms we of course operates with causes and conditions not only in this life but in many previous lives as well.
The different chains in dependent origination is the same for all people but the the causes for e.g. contact can be different since one person might have a negative memory about an object while the second person has a positive memory about the object or a similar object. In the cognizing process of an object there is a stage at where the percieved object is linked/compared to previous experiences of that object or similar objects. In that way previous experiences play a role in determining what kind of feeling will arise when making contact.
Of course there are many more different causes but this could be one of them - different previous experiences of the same object or similar objects.
Where do you read about Dependent Origination?
I would recommend this discourse on Dependent Origination by Mahasi Sayadaw. This is well written, comprehensible and filled with jewels of knowledge.