Olympic gold medalist Simone Biles blasted Gabby Douglas, another member of the 2016 U.S. gymnastics team, after Douglas criticized another teammate's comments on sexual assault.

The chain of tweets ended with an apology from Douglas.

Biles, a native of the Houston suburb of Spring, tweeted Friday that she stood with Aly Raisman, captain of the 2012 and 2016 Olympic teams, who has accused a former national gymnastics team doctor of sexually abusing her.

Raisman, 23, describes the abuse in her book Fierce, which is out this month. She also turned to Twitter on Friday to detail her stance on sexual assault.

"Just because a woman does a sexy photoshoot or wears a sexy outfit does not give a man the right to shame her or not believe her when she comes forward about sexual abuse," she wrote. "What is wrong with some of you?"

We are all in this together. If we are going to create change I need all your help. pic.twitter.com/q9d12z0KHn — Alexandra Raisman (@Aly_Raisman) November 17, 2017

Douglas replied to Raisman's tweet and appeared to criticize her position in a post that has since been deleted.

"However it is our responsibility as women to dress modestly and be classy," wrote Douglas, 21, who competed alongside Raisman in the 2012 and 2016 Olympics. "Dressing in a provocative/sexual way entices the wrong crowd."

Biles jumped in to defend Raisman. The 20-year-old said she was shocked but not surprised by Douglas' comments.

"Honestly seeing this brings me to tears bc as your teammate I expected more from you & to support her," Biles tweeted. "I support you Aly & all the other women out there!"

shocks me that I’m seeing this but it doesn’t surprise me... honestly seeing this brings me to tears bc as your teammate I expected more from you & to support her. I support you Aly 💕 & all the other women out there!

STAY STRONG pic.twitter.com/CccTzhyPcb — Simone Biles (@Simone_Biles) November 17, 2017

The same day, Douglas apologized.

Sorry, we didn't recognize the link you were trying to embed.

"I didn't correctly word my reply & i am deeply sorry for coming off like i don't stand alongside my teammates," she tweeted. "Regardless of what you wear, abuse under any circumstance is never acceptable."

Douglas ended her post with the hashtag #metoo, which women and some men are using across social media platforms to share their experiences with sexual assault or harassment.

i didn’t correctly word my reply & i am deeply sorry for coming off like i don’t stand alongside my teammates. regardless of what you wear, abuse under any circumstance is never acceptable. i am WITH you. #metoo — Gabby Douglas (@gabrielledoug) November 18, 2017

In an interview with CBS' 60 Minutes that aired this month, Raisman described how Dr. Larry Nassar gained her trust by giving her desserts and gifts. He began treating her when she was 15.

.@Aly_Raisman says she was unaware at the time that the U.S. national team doctor was using a predatory technique called “grooming” to gain her trust. She says he would bring her treats and gifts. pic.twitter.com/waCgYBdGIU — 60 Minutes (@60Minutes) November 13, 2017

Without going into detail, the Olympian wrote in her book that Nassar's treatment sessions made her tense and uncomfortable but that she dismissed her reservations because adults in her life trusted the physician.

"Who was I, a mere teenager with no medical training, to say any different, or to question his methods?" she wrote in her book, according to The Boston Globe.

Biles praised her teammate for sharing her story publicly.

"You are so brave and courageous!" she tweeted Nov. 13. "Keep your chin up!"

you inspire me day in and day out @Aly_Raisman I’ll always be in your corner supporting you 💛 you are so brave and courageous! keep your chin up! All my love xoxo 😘 — Simone Biles (@Simone_Biles) November 13, 2017

Raisman became the latest gymnast to say she was sexually abused by Nassar. McKayla Maroney, who won two medals at the 2012 Games as Raisman's teammate, said last month that the doctor molested her for years.

Nassar is awaiting trial on separate criminal sexual conduct charges and has been sued by more than 125 women alleging sexual abuse. He has pleaded not guilty to the assault charges, and the dozens of lawsuits filed in Michigan are in mediation.

The Associated Press contributed to this report.