ABC News July 21, 2015

Amy Schumer Explains the Anne Hathaway Jab in 'Trainwreck'

WATCH: Anne Hathaway Responds to Amy Schumer's Insult in 'Trainwreck'

Amy Schumer took to Twitter Tuesday to explain the "Trainwreck" joke that poked fun at Anne Hathaway.

The comedian tweeted that Judd Apatow, the director behind her hit new movie, was the person who wrote the jab, which mocked Hathaway's excitement over winning an Oscar.

"I love you Anne Hathaway. I have no problem selling out and telling you that that was @JuddApatow s joke he made me say! #truth," she tweeted Thursday.

'Trainwreck' Movie Review: How Funny Is the Amy Schumer Comedy? 'Trainwreck' Stars Share Their Most Memorable Dating Moments Amy Schumer Reveals How Much of 'Trainwreck' Is Autobiographical

On Monday, Hathaway posted a photo of her ticket stub and wrote a message to Schumer, who wrote and stars in the film.

"Dear @AmySchumer, Don't pretend like when you win your Oscar — which you could for your brilliant and refreshing writing and/or acting in @TrainwreckMovie — you won't tote it around to every Oscar party you go to," she wrote, signing off, "Way to slay, Annie."