I received a bill from the franchise tax board for year 2021. I looked over the return I filed and I don’t see what the discrepancy could be. How can I figure this out?

I spoke to them and they said I omitted some of our income on the state forms but not federal. This was an accident, but why did it take 4 years to figure that out?