It turns out your 2017 CA refund is taxable?

Why is this the case?