Self-defense is not a matter of rights, but a law passed by a state legislature. The legislature can presumably make any law, just or unjust, provided the majority votes to pass it. They could have required the defense to prove beyond a reasonable doubt that the defendant acted in self-defense, or they could have disallowed self-defense entirely. But instead, they enacted the law requiring the prosecution to disprove self-defense beyond a reasonable doubt. All three possible laws are almost certainly constitutional, and adjacent states could have completely different laws.
Have you forgotten the Fifth Amendment?
By the way, even if a jurisdiction outlaws self defense, the juries may not go along with them.
It is an unalienable right granted by GOD Almighty. No legitimate legislature nor government can take that away. They can try but God-fearing and Liberty loving people know better and will not that usurpation succeed for long.