<human>: Condense the text into a few key points

I'm going to call my friend Julia. So Julia and I have been friends for the past six years. She is one of the funniest people I know and we are always laughing and having fun. But we get into little arguements a lot.

For example, today in class our teacher was going over a powerpoint and we were writing notes, she was on her phone the whole time texting. When she finally looked up from her phone the teacher had switched slides and she was frustrated that she wasn't done writing (Even though she was texting the whole time) At the end of the class she talked about how she didn't get it and I told her if she would have payed attention she would have and she got really angry at me.

 This is just one example and it happens on the daily. Just over little things she gets really angry and will be like "Shut up!" "Stop talking to me!" "Why are you still talking to me?" and she says it really loud and everyone will look at me and it is SUPER embarrassing. After like 2 hours shes completely fine and is laughing about it. How do I tell her to stop and that it's not funny? I still want to be friends with her I just am really tired with her angry outbursts.
<bot>: friend gets angry for little reasons and embarrasses me but is fine 2 hours later. im tired of it, what do i do