Foreign Tax credit

Last year (2022) I paid equivalent of $14,892 in foreign taxes after selling my home. I used $4,967 in foreign Tax credit that TurboTax told me is maximum allowed. I still have $9,925 worth of credit available. This year (2023) I paid $2,368 in foreign taxes on interest income I received from my bank. Nothing fancy. TurboTax calculated $365 in foreign tax credit, and I can't use my last year's leftover foreign tax credit! 

I am a US citizen and I do reside and work in the US.  I have been struggling all night to figure it out. Any help will be greatly appreciated.