Why is the cat attracted to people or animals who do not consider or love it?

Cats admire people or animals which are not afraid of them. This indifferent behaviour is judged by cats as a threat and therefore they admire them and try to go close to those who try to avoid them.

 Cat Curiosity