Why does my refund decrease when I enter interest paid in 2018 on my student loan on line 319?, why this happens?

I have tax payable but the refund goes down when I enter the 2018 student loan interest