It's not that CA, or any other state for that matter, can make an article illegal in all other states.
It's that a state can make an article illegal within its borders, regardless of whether it is legal in another state.
God gave you a soul.
Your parents, a body.
Your country, a rifle.
Keep all of them clean.