The teacher and coach went into the ocean in Myrtle Beach to help a struggling girl, police officials said.