Well, let’s begin at the beginning. Did mankind create the state, or did the state create mankind?
That seems like a simple question, but from there arises all power, authority, rights, privileges… everything. See, the creator is the master. Without delving into Judeo-Christian, Hindu or Buddhist philosophies, whomever does the creating endows said creation with certain rights.
Again avoiding the alternative creators of humanity; obviously, the state was a human creation, not the other way around. The state is ostensibly a collective surrender of parts of our rights (our endowment to the state) for the advancing interests of the collective. As such we have the authority to rescind our endowment, but it is un-natural that the state would attempt to usurp our rights (which were given to us by our creator, not the state).
TL/DR: We made the state, all the rights of the state were given to it by us and we (collectively) retain all power over the state; the state only has power over individuals according to the will of the collective. Full stop.