I think the implication is that he dated the teacher at one point and that they broke up, and when paired with his parents divorce, it lead to them having an internal crisis and him having some internal issues.