Stop in for a cup of coffee

I kept my witholdings maxed out when I was working. It made for great Fed returns, but the dang Ca tax thieves tax that Fed return as earned income the following year :wtf:.
I thought federal law forbid that?