So, given “If you are in a community you are, in some way, responsible to that community,” is that responsibility voluntarily engaged, or is it something imposed?

If it is voluntarily engaged, then is the model for community building something like contract theory (c.f. Rawls ‘A Theory of Justice’)?

If it is not voluntarily engaged, then on what basis does such responsibility evolve? Can we justify any sense in which ‘responsibility’ is imposed?