Olivia Wilde's relationship with Harry Styles is suffering as a result of the drama surrounding her ex-partner Jason Sudeikis.

A former nanny employed by Olivia and Jason made startling accusations a few weeks ago.

But things are claimed to be difficult in Olivia and Harry's relationship today, with a source telling Radar Online that they are trying to work through everything, but it's difficult.

The director and actress of "Don't Worry, Darling" are apparently stressed out because she is being pursued.

Despite Jason and Olivia issuing a joint statement denying the nanny's accusations, a source says the turmoil is still wearing on the British popstar-turned-actor.

"Harry is a cool person who despises negativity, and no amount of his calm advise seems to help." He's had enough of the drama. "Something has to give."

The trouble began amid rumors of hostility on the set of their thriller film. On-set scream matches and a dispute between Olivia and her lead actress, Florence Pugh, were previously rumored.

While Olivia Wilde and Harry Styles' romance heats up, tension emerges with the "Ted Lasso" star after he issued her with custody papers back in April during CinemaCon.

"His actions were aimed to scare me," the former "House" actress stated in court.

Jason, for one, subsequently stated that he had no clue Olivia would be served while speaking in front of an audience, and that he never wanted to disrupt her particular moment.

READ ALSO: Gisele Bundchen Planned Her Escape Months Before Divorce From 'Laughingstock' Tom Brady?

In 2011, Jason Sudeikis and Olivia Wilde began dating. They have two children, Otis and Daisy. They allegedly called their quits by late 2020.

This is because the "Booksmart" filmmaker went on with the "As It Was" singer subsequently, but they've worked hard to keep their relationship private.

Unfortunately for them, Jason and Olivia's former nanny leaked information about their final months together.

Olivia, according to the anonymous nanny, was dragging the comic along after they split up. She also said that they got into an argument after he spotted Olivia cooking Harry Styles a salad with her special dressing.

However, the former couple claimed in a joint statement that the nanny had been harassing them and their acquaintances, coworkers, and loved ones for the previous 18 months. They even called the charges "false and scurrilous."

READ MORE: Liam Hemsworth on 'The Witcher' Is 'Biggest Casting Downgrade': Henry Cavill Left Because of Bad Script?