Friendships change over time. It doesn't mean you have done anything wrong. It doesn't mean your friend has done anything wrong. Stop trying to figure out what you did wrong or blame the other person. Remember the friendship you once had as around memory.
I wish I hadn't done certain things in life. And I wish I could apologize to some people, especially someone who's heart I helped break. I wish we could have fallen in love under different circumstances... But all we can do is learn from mistakes and grow