Ivanka, Jared Kushner
Ivanka Trump with her son Theodore (C) and husband Jared Kushner (R), senior White House advisor, during a Hanukkah reception hosted by President Donald Trump in the East Room of the White House in Washington, D.C., Dec. 7, 2017. Getty Images

Ivanka Trump was roasted on social media after posting a photo Wednesday of her husband, Jared Kushner, and their son on a boat in Florida with a Confederate flag in the distant background flying on another boat.

Immediately after the photo was posted on Twitter, social media users slammed the first daughter, criticizing her for several reasons.

Some users pointed out the act of the apparent oversight, while others questioned whether the photo expressed any kind of subtle support for the flag, which is widely viewed as a symbol of white supremacy.

"Couldn't find four photos without one? Or is this a dogwhistle?" Walter Shaub, the former director of the Office of Government Ethics under former President Barack Obama, tweeted in response to Ivanka’s photo.

"Nice confederate flag in the background. Playing to their racist base, I see," one person tweeted, while another wrote: "You might want take a closer look at your photos before posting. Husband showing his true colors Ivanka..."

However, there were other users who argued it was unfair for the first daughter to be criticized for the flag as it was not placed on her family's boat, with one person tweeting: "Do you hold yourself accountable for the actions of the person driving next to you? If not, you’re a hypocrite."

Some users also pointed out the picture was symbolic of President Donald Trump’s controversial statements about Confederate monuments and his defense of white supremacists, who protested to protect the monuments in Charlottesville, Virginia, in August.

Trump argued at a Phoenix rally back in August that those in favor of removing monuments to Confederate leaders from public spaces are "trying to take away our culture" and history, calling them "weak, weak people."

Twitter users were quick to draw similarities and pointed out the president’s defense of Confederate monuments and alt-right protestors as those instance appeared to align with his daughter’s choice of ignoring the flag in the picture and also avoiding its meaning.

The White House has not yet responded to the social media backlash against the first daughter.

On Monday, first lady Melania Trump was also trolled and criticized after she shared a playful and festive selfie on Twitter, which showed her posing beneath a Santa hat filter, golden reindeer and with the caption "#MerryChristmas."

After sharing the Christmas selfie on social media, the first lady did not receive the best responses from Twitter users all around the world. Melania captioned the photo "Merry Christmas," and used a Santa filter in the picture. However, the usage of heavy-filters by the first lady on her face was not quite appreciated by social media users and they were not in any mood to forgive Melania for her actions.

President Donald Trump and the first lady are spending the week between Christmas and New Year’s at their "winter White House," the Mar-a-Lago estate in Palm Beach, Florida.