Moving from MD to FL

My son moved from MD to FL in May 22.  He earned $31K in MD and paid $2,300 in taxes prior to leaving MD.   When he enters the his W2 on Turbo Tax, it's telling him he owes another $6,500 in MD.  That would be approximately 31% of his pay.  The W2 box 16 (state wages) lists $31K and box 17 lists $2,300.  I'm guessing that Turbo Tax is using his full year earnings ($113K) and having him pay MD income taxes for the money earned in FL.  Not sure what is wrong as he indicated he moved to FL when setting things up at the very start.  Any help?