max had explained the circumstances behind niall and portia 's divorce , that they 'd married when they were fresh out of high school , and been with only each other up until the previous summer , when they both decided it was n't working anymore .