No one here can see your information or your tax return, so we do not know why you cannot deduct your student loan interest. You cannot deduct the interest if you are someone else's dependent, or if you are filing married filing separately or if you exceed the income limit.
https://www.irs.gov/help/ita/can-i-claim-a-deduction-for-student-loan-interest