Why is my Mortgage interest deduction less than what I paid?

Paid $25,119 in mortgage interest and points. Program only shows a deduction for $18,119. Why the difference?