Could be an act. They both had a lot more to lose if the judge tossed out the plea agreement. The judge himself stated that $1 million in restitution did not come close to making restitution for what he had done.
The judge also demanded that Kwame surrender his law license, which wasn't part of the plea agreement. When the defense objected that the judge was changing the agreement, the judge asked if they would rather go to trial. That very quickly put an end to their objections.
The judge also ordered that Kwame not be given time off for good behavior, to which the defense also objected.
The judge obviously felt the plea agreement was a mockery of justice, but wasn't willing to go out on a limb and toss it out.
He made a couple changes to make it nominally harsher, but he wasn't willing to ignore the agreement completely.
However, it was obviously in Kwame's and his wife's best interest to show a united front.
However, now Kwame can't practice law, nor run for office for 5 years, so his future earning potential isn't looking quite so good.
That makes divorce look much more appealing for his wife.