Information flows from your federal tax return to your state return when you use TurboTax. If PA taxes your pension, then the software will follow the state rules. However, PA does not tax retirement income. If you have other income in addition to the military pension, you may be taxed for part of the year by PA. When you prepare your federal return, make sure you say in MY INFO that you moved in 2024.
https://ttlc.intuit.com/questions/1901560-how-do-i-file-if-i-moved-to-a-different-state-last-year
Thank you for your military service to our country.
You are required to pay state tax if you live or earn income in a state that requires state income tax.
Because you moved to PA in September 2024, you will pay PA State tax as a 2024 part year PA resident.
Congratulations on your retirement!