halafield:

Carol’s friendship with Tony Stark had been a source of strength for her for a long time. So he knows, even when they’re at each others throats, that there are some things Carol can’t outrun. He knows because he spent a lifetime trying to outrun those same things. So when he sees Carol having these panic attack-style episodes where she can’t breathe, he encourages her to confront what’s happening and sort of get it together. She basically takes a break from the Avengers to work through all of this and figure out what’s going on.

Carol and Tony have always shared dysfunction. They’ve always been able to hash that out together. So that’s where this naturally sort of spirals out from.

Margaret Stohl on THE LIFE OF CAPTAIN MARVEL #1