Entering 1095-A information causes tax due instead of refund

I need help about a 1095-A data.  I'm doing tax return for my son who had 2 jobs in 2022.  In his 1st job at Company A, he bought insurance thru Covered CA from Jan 2022 up to Jul 2022.  In Aug 2022, he started a job in Company B and was covered thru company insurance.  He did received a 1094-A.  Before I entered the 1095-A data, TurboTax showed a Federal and State refund.  After I enter the 1095-A data, the Federal refund turned into a tax due, and the State refund decreased.  I looked in Form 8962 and it turned out that because the AGI was more than the income when he applied for the Covered CA insurance, he has to pay back some amount.  However, I think this is wrong.  His income was the same from Jan 2022 to Jul 2022 and he was eligible to get the benefits from Covered CA insurance.  He stopped this insurance when he was employed with Company B, therefore the income from Company B should not be considered in calculations of Form 8962.

Question is, how should I do the entry for 1095-A to get the correct tax due or refund? Or is it possible to file 2 separate tax returns for each income situation?  Thank you for your help