Should a Federal tax refund change to Federal tax due the moment you begin the State return?

After completing the Federal filing, I was getting a $94 refund. As SOON as I started the State filing, before any questions were asked, it changed to $159 Federal tax due. Why?