Question: what does it mean when someone is avoiding you?
Answer: Avoidance doesn't necessarily mean that someone won't spend time with you – it may just mean that they don't acknowledge your presence. Try to say something directly to the friend, and see how they respond.