MOUNT PLEASANT, S.C. – A social media message sparked an altercation between two South Carolina teens that ended with one dead and the other charged with murder.

Police told NBC 2 Matthew Fischer, 16, was visiting his girlfriend Sunday when she received a Snapchat message on her iPod from Lucas Cavanaugh, 17, though authorities did not reveal its contents.

“Police say Fischer grabbed the iPod and exchanged words with Cavanaugh, telling him ‘Come over’ and ‘I’ll kill you, man,’” according to the news site.

MORE NEWS: Know These Before Moving From Cyprus To The UK

A court affidavit for Fisher alleges Cavanaugh went to the home, the two got into a physical altercation, and Fisher fatally stabbed Cavanaugh in the torso with a pocket knife.

Fisher then allegedly fled on foot to a nearby neighborhood and called his mother, who brought him back to the scene. Police contend Fisher confessed to killing Cavanaugh on video and in writing, WYFF reports.

The teens attend Wando High School, according to The Post and Courier.

“This is just a tragedy for the entire Wando community and the families involved,” Fischer’s attorney, Peter David Brown, told the court at his client’s bond hearing Monday.

Both families attended the hearing, and neither spoke. Cavanaugh’s father cried.

“When Brown was asked after the hearing if he would argue self-defense, he said he was waiting to learn all the facts of what happened,” The Post and Courier reports.

MORE NEWS: How to prepare for face-to-face classes

Fischer is charged with murder, as well as possession of a knife during the commission of a violent crime, and will be tried as an adult. He remains in jail without bond for the murder charge, according to media reports.

Cavanaugh’s obituary states he was a junior at Wando High School. He hoped to attend the University of Cincinnati for automotive engineering and design, and “one of his main passions was restoring his ’81 Corvette,” according to The Post and Courier.

“Sometimes one click can change your life forever and it can be devastating,” Rick Floyd, an area resident who speaks in schools about social media, told CBS.

The tragic event garnered a lot of attention and comments online.

“Very sad! My thoughts are with both families,” Daniel Brownstein posted to Facebook.

“I don’t get it. ‘Come over’ and ‘I’ll kill you, man,’” Paula Duggan wrote. “Gee … I better hop in the car and get right over there.”

“We must rise up and demand registration, mandatory training and licensing for all sharp objects,” SweetJane Parx added. “Do it for the children, before it’s too late.”