One reason is that they don't think that their attention is wanted or welcomed. Another reason could be that you come off as uninterested.