After you file

On my 2021 W2, I don't have federal tax withheld but got social security and medical taxes in it. I got my 1040 NR using sprintax and it says I owe money to the IRS. i am kinda confused