As in the title: Why do we know that a set $S$ of sentences implies the sentence $A$ if the set $S \cup \lnot A$ is inconsistent?
I "know" it's because if $S \cup \lnot A$ is inconsistent, then $S \cup A$ must be consistent. But why must $S \cup A$ be consistent if $S \cup \lnot A$ is inconsistent? Do we assume that $S$ is consistent, and notice that if we add $\lnot A$ to it, the union is inconsistent, and from there deduce that if instead of $\lnot A$ we would've added $A$, the set would've been consistent? If so, how can we deduce this? What makes it impossible for $S \cup \lnot A$ and $S \cup A$ both to be inconsistent or consistent?
I don't know if it matters, but I'm talking about basic propositional logic.