I used health.gov for insurance. I received a credit of $900 each month and paid $50 for the balance of the insurance. Now I owe $1500 in federal taxes, is that correct?

I used to always get a refund from both federal and state do I have to give up the credit for the health insurance to go back to getting a refund?