Glaucus consumed a magical herb that he saw revive a fish, leading to his transformation into a sea deity.