Are you asking about how to make yourself understand why he broke up with you? I think you answered it before with the friendship thing. I'd suggest waiting a few days and then calling him to talk about it. Lay everything out in the open and see where it heads from there. If things are still broken, then move onto other things.
Things happen for a reason. If its not to meant to be, then its time to move on with your life and try to find someone who will treat you well for who you are and with respect. Love is something that should not be messed with all the time because sometimes it can interfere with free will.
But there are exceptions, you can make honey jars to help sweeten someone or maybe help fix the friendship if he wants too. And try talking him easily and see where things go. Blessed Be )0(
Well if he told you friendship that could be the reason, but if you want to know for sure you could look into Skrying or other forms of divination such as tarot or Oracle cards.
To make things better depends on what you mean, better friendship wise you could try a spell to help you move on, meditate and come to terms with the situation, or tell him you need time to yourself to clear your mind.
If you want him back, we all know love spells are morally wrong, but a love spell, or talking with him are options.
If I were you, I would sit, breathe, and look within for the answer. Emotions are running wild right now, so it might take a few weeks of alone time and self reflection to come to an answer, but once you get it, sit down and speak with him. In this situation magick shouldn't factor in, because magick for love doesn't normally go well.