A high school student’s death was caused by excessive ingestion of caffeine, the Richland County, S.C., coroner said.