Here's a quick little lesson: If you're thinking about making a joke out of Mel B's marriage, it would probably be in your best interest to, you know, not.

On last night's (August 22) America's Got Talent episode, things got fiery — ironically — after a particularly unmoving act. A magician named Damian failed to excite the judges with a stunt that involved him "escaping" a wooden box, and after judges Mel B and Simon Cowell both dismissed him with buzzers, Cowell crossed a line with an additional critique.

“I kind of imagine this would be like Mel B’s wedding night,” Cowell said. “A lot of anticipation, not much promise or delivery.

After sporting a look of total incredulity, Mel B stood up, doused Cowell with water and stormed off set.

“Mel B is out,” host Tyra Banks commented. “This is live TV, y’all. Live TV.”

It's likely Mel B was particularly sensitive to the remark as she's in the thick of divorce proceedings. She filed for divorce from Stephen Belafonte in March after 10 years of marriage and requested joint custody of the couple's five-year-old daughter. She's aiming to not have to provide spousal support.

X Factor, Idol + More Winners Through the Years: