Ben Affleck's growing feelings for "Suicide Squad" costar Margot Robbie may have been the final nail in the coffin in his troubled marriage to Jennifer Garner.

The 43-year-old Garner and Affleck announced they were divorcing just one day after their 10th wedding anniversary amid rumors he had developed feelings for the 25-year-old Robbie.

A source told Woman's Day the much older Affleck "had the hots" for Robbie ever since he saw her in "The Wolf of Wall Street." In "Suicide Squad," Affleck stars as Batman, and Robbie plays the part of Harley Quinn.

Garner's fears seemingly come from a real place given that she and Affleck got together after they costarred in the films "Pearl Harbor" and "Daredevil."

Other reports recently surfaced and say Garner was annoyed over how close her husband and ex-girlfriend Jennifer Lopez had remained over the years. Since splitting in 2009, rumors are the two remained in contact primarily via email.

"Everyone is talking about J.Lo and Ben and saying it's inevitable they will get together again at some point," said a source. "They were pretty flirty at the Oscars and have stayed in touch over email. Jennifer Garner never liked it."

According to the New York Daily News, the one-time Hollywood power couple made news at the Oscars when they were spotted chatting during a commercial break in the broadcast.

Reports are Affleck "whispered something" in Lopez's ear before she "playfully" swatted his arm.

In her 2014 memoir "True Love," Lopez described the couple's breakup as her "first real heartbreak."

Currently, the 45-year-old Lopez is rumored to be dating on-again, off-again boyfriend Casper Smart, and the two were spotted together in New York just hours after Affleck and Garner announced they were splitting.