Sometimes, a person can cut the communication with you because they found something you said or did offensive and instead of talking about that with you, they cut the communication just to be polite.
Another possible reason is that when they said something they only want to share with you and you didn't pay attention (it happens ). Now, they think that you are an ignorant person and that it's better to stop talking.
There could be more reasons, but I have listed the most common ones according to my experience.
Now, since you both have reconciled and are now at good terms, I'd say stop thinking about the reason, consider either confronting her or moving on because the more you think about it, longer it will stay in your mind and more likely it will jeopardize your friendship. Look for the subtle hints if she wants you to talk about it (As commented by @SandyC). If yes then talk about it.
Now, if you want to confront her, find the best time when you're both alone and try to let her know that you're sorry and confused about what exactly happened.
I am sorry if I came across in a rude or inappropriate way back then. I am still confused about what really happened.
You should take whatever she responds in a positive way. If she says that she is over it and doesn't want to talk about that any longer, don't pressurizepressure her and move on. If she tells you the reason, see how you can improve yourself.