The “Kream” rapper stopped by ET’s studios on Tuesday, where she dished on her new EP, Survive the Summer, and opened up about how proud she is of Lovato after the former Disney star revealed that she relapsed in her new song, “Sober.”

“I had known about it, as a close friend,” Azalea, 28, revealed. “So I had really wanted for her to be the one to tell people that. And I worried a lot, as her friend, that something was going to leak or somebody would somehow take that and use it negatively against her, or to make her seem like she’s got a secret.”

“It’s not my business to say to my friend, ‘You need to fess up,'” she continued. “But as a friend, you worry and you’re like, ‘Oh, my God, my friend, she has this thing that people can use against her and I really want her to own it.’ And she did!”

A separate source told ET that “Demi relapsed and started drinking alcohol again.” “Her song is intense, but that’s how she deals,” the source explained. “She has to be brutally honest and put it out there so that she’s not burdened with holding on to her struggles privately.”

Azalea, on her part, wasn’t aware that Lovato had decided to put her truths into a very personal song.

“I didn’t know that she was recording that song, she didn’t tell me that,” the “Fancy” rapper confessed, adding that she heard it when the rest of the world did. “I was just really proud of her that she was honest because it’s really hard to be honest with yourself. So, to be honest with the whole world, [to share] something that you struggled with very publicly, it’s something that is very admirable. I was very proud of her to see her write that song and put it out.”

The two friends will be reuniting soon at the California Mid-State Fair on July 22, where they will both be performing.

“I’m going to see her [soon],” Azalea shared. “I’m opening for her. I’m her opening act, which is cool because I love the idea of that because she’s my friend.”

Azalea is also focusing on finalizing a tour and her upcoming six-song EP that drops on Aug. 3. Fans have already heard “Kream” and “Tokyo Snow Trip,” which the Aussie artist calls a mix of her old and recent work.

“They are definitely a departure from my album. But, they’re sort of a resurgence, almost to, or a nod to, my earlier mixtape stuff that I did before I got signed,” she explained. “So it’s both. It feels new, but it feels nostalgic at the same time for me.”

See more of ET’s interview with Azalea in the video above. And for more on Lovato’s struggle with sobriety, watch the video below.