Deductions & credits

Hi, Can someone please help. For some reason my investment interest expense just keeps getting bigger and bigger and instead of offsetting the Dividend and Interest income for the year keeps being Carried over to the next year. Turbotax message is that unfortunately "you do not haveenough itemized deductions... Your investment interest expense of $40,810 will be carried forward to 2024"... Why? Could it be that I didn't itemize them? I thought I did ...followed TT's instructions, entered the correct amounts into margin expense, do not see any other options... Funny that with Interest Income and Dividend Income all the boxes get populated directly from my brokerage and never get "carried forward" anywhere and taxed right away. Margin interest expense needs to be entered manually and then it tells me it can't be applied this year? What am I missing?