I am so pleased that you have found your way here to get some support on this one, and just so you know, you are not oversharing, you can chat here, to share as much as you feel comfortable to and to get it off your chest. Also it really does not matter if you are 8, 18 or 88 years old, we are here for everyone, to provide some comfort in times of feeling really sad or just plain yuk!
I am really sorry first and foremost that your friend hit you, this is not acceptable in any situation and I do feel you need to have a conversation with her about this, to get some answers and to also advise her that her behavior was totally out of line, totally unacceptable and you will not be treated like this.
It seems to me your friend has some things on her plate and perhaps is not going so well, maybe managing her time with you, with a boyfriend, maybe school and doing school from home, we don't know but it seems like her behaviour is suggesting she has some things going on, no excuse to hit you, or to disregard you feelings or your requests, to sum it up..you ...she is totally disrespecting you.
I think you do have some decisions to make here, if you want this person in your life? If you do choose to keep her as a friend to ensure she knows that you will not be treated poorly. I think her pressuring you to "tell her what is wrong" alludes to her panicking maybe about what she did to you, but none the less if you were not ready to talk she has to accept that. She did not, she once again lashed out verbally and put it on you. You own your feelings and no one can tell you how you feel is wrong, you own them, you feel them, they are real.
I unfortunately cannot make this choice for you as to what to do, however we can guide you and to help you through this time. I think once you decide what you want things will start to fall into place. If no longer want her as a friend you have that right, and you can tell her that too, if that is something you want we can work out some words and how to construct a conversation if you like.
Well done for reaching out tonight sun + herflowers, it is not easy to do so it is really brave and strong of you to look out for you.
Hope to chat some more to you