Once you are sure that your friends are ignoring you and you think that you have narrowed down on possible causes for their behavior, it is time to talk to them directly. Tell your friend that you want to have a chat. Be direct and don't be angry when you have this conversation.