Ehhhh, I mean, sure, John could sue about this and cost the company some money (because you can sue about anything), but marital status did not at all play a part in the decision process. It was, however, a signal that the employee was lying about
material things.
Regardless, John quit. He wasn't not hired in the first place, and he wasn't fired.