Original: Their father, Amphion, at the sight of his dead sons, either killed himself or was killed by Apollo for having sworn revenge.
Simplified: Amphion, at the sight of his dead sons, either killed himself or was killed by Apollo for swearing revenge.