Maryland took our tax return said we owed taxes for maryland for 2019 and 2020

We were supposed to get a refund from MD and MD finally sent us a letter stating we owe taxes for 2019 and 2020. How do we fight this and why7 did it happen.? We paid extra to make sure the taxes were completed correctly.