Cost to E File State return

Why can't the cost to file my state return be deducted from my state refund? Because I applied my Federal refund to my 2020 taxes, I can't file my state taxes electronically without using a credit card. This doesn't seem right.