Another possible factor could be that the cat is more interested in spreading its pheromones to everyone in the vicinity. A cat is easily able to 'mark' its territory with people that pet it or allow itself to rub up against them. However, it is more of a challenge for people that are allergic or who dislike cats, and so the cat would continually try to get close to the person until they are successful at giving them their scent.
Therefore, what is the best way to interact with a cat? It is preferable to not perform any sudden movements, be boisterous and stare a cat down as this is a sure way of getting them running in the opposite direction! Instead it is better to remain calm, maintain eye contact and blink very slowly. You will find that the cat will be more open to you in no time since you are now seen as friendly and non confrontational. The cat may even blink back at you in the same fashion which means he/she is completely comfortable in your presence.