That boss was very unprofessional, and it could be borderline illegal in USA the way he asked those questions. It might be deemed as discriminatory against a woman applicant. While it is okay to question an applicant's marriage status, but it would be unprofessional and really crossing the line to question when it will be.