I'm glad to hear that you and the friend may be working your way back into a cautious friendship. Losing friends can be devastatingly hard. I can think of maybe 3 instances when this has happened to me and it hurts whenever I think of them. I always tell myself "you cannot force someone to like you/be your friend". If I do something bad enough to cause them to ghost me that's their right. I never usually know 100% the reason they leave but I always have a pretty good idea. Being a person is hard