Apologize if your friends are annoyed at a mistake that you made
A confrontational conversation may reveal that your friend is ignoring you because he or she is upset with something in particular. Your friend may have felt bad about something that you said or did earlier.
If this is truly the case, don't let your ego come in the way of an apology if you really want to continue your friendship.