One is a constitutional right, one is not.

However, there is no right to manufacture arms, so they may have something there especially since California has had a ban on their manufacture for years