Hey. Sorry to hear about that incident. Needless to say, it'll likely happen again. That said, what do you do to releave stress? You will certainly have more stressful days ahead, so it's good to prepare and anticipate.
Perhaps learn which phrasing works for both of you. There's no cookie-cutter recipe. I'd start with understanding how she communicates, and what she'd like to hear. Funny enough (to my limited understanding), women don't expect us to solve their problems, but rather participate in the problem-solving process (often just listening). If you gove her advice that wasn't what she was hoping for, then try working through a flow-chart that you'll be able to customize on the fly.
- Apologize for whatever she's going through or whatever you said or did. You can even apologize for whatever you're going through (this buys you a bit of buffer)
- Use minimal paraphrasing ("I understand X, Y, Z...")
- Propose a solution or, if you don't have one, offer to help find one. Let her know on your downtime you'll look it up online or whatever you have in mind and then you'll discuss your findings with her. If it's urgent (no time to buy time) then say that you understand the urgency and that on the fly you can only think of X, Y, Z
Anyway that's all I've got based on the limited information in OP. Hope that helps.
I don't think it's at all a good idea to apologize if you didn't do anything wrong.
In general, it's safer to wait for an openess or request for advice, with us females, sometimes we just need to let off steam, and we aren't being reasonable, we are not running on frontal lobe reasoning, we are in fight/flight mode and it's primal brain responses, at play.
Sympathetic noises or body language and NOT a great deal of information would probably be.more appropriate.
When in the throes of primal brain emoting, our ability to process information is compromised. A calm and solid presence can be comforting, but expecting her to be able to listen and absorb pragmatic information is probably expecting too much, until she has regained her composure.
She is, in effect, being flooded, with negative emotion. It's VERY unpleasant and frightening and overwhelming. Helping her limit the sensory input, quiet any loudness, too bright light brought down, keep feedback and directives simple and as objective as possible, get her a drink or a stim toy or something that, when.you are both calm and reasonable, you have agreed would be helpful and calming.
Teach her that you aren't abandoning her, if you leave the room or go do something. She will learn trust and self control with boundaries, honesty and assertive support.
DON'T allow yourself to be emotionally manipulated, that WON'T help her to feel secure, teach her that she can.trust what you say and that you are secure in yourself and she will learn to do the same. Monkey see, monkey do.
It is like a child part takes over, when these meltdowns happen, she needs you to be the adult.