In the first case the coefficient "-1" represent a global phase. this coefficient does not alter in any way the probability of this qubit in any basis.

in the second case the coefficient is altering the relative phase of those qubits hence they are not the same state.

The global phase is always cancel out during the inner product calculation when changing basis, so it carries no useful information.

The relative phase on the other hand will not.

In the above example $\frac{1}{\sqrt{2}}(\ket 0 + \ket 1) = \ket +$ and $\frac{1}{\sqrt{2}}(\ket 0 - \ket 1) = \ket -$

So:

$\frac{1}{\sqrt{2}}(\ket 0 + \ket 1)\ \rightarrow\ P_{\ket +} = 1 , \ P_{\ket -} = 0$

$\frac{1}{\sqrt{2}}(\ket 0 - \ket 1)\ \rightarrow\ P_{\ket +} = 0 , \ P_{\ket -} = 1$