Take long exact sequence (l.e.s.) $H_1(A)\to H_1(X)\to H_1(X,A)\to H_0(A)\to H_0(X)\to H_0(X,A)\to 0$.
Suppose $H_1(X,A)=0$. Then $f:H_1(A)\to H_1(X)$ is surjective and $g:H_0(A)\to H_0(X)$ is injective. This is what I can deduce from the l.e.s. But I don't understand how to relate this phenomenon with path components of $X$. I don't understand how surjectivity of $f$ is related to path components of $X$. I looked at the following post
but I don't understand it; for example the part: $X_i$ path connected $\implies H_0(X_i) \cong \mathbb{Z}$. If $X_i$ contained more than one path-component $A_i$, say $n$, then $\operatorname{im}{ g} \cong \mathbb{Z}^n$, which is a contradiction to $\operatorname{im}{ g} \subset H_0(X_i) = \mathbb{Z}$.
I also don't see how a beginner who has just studied the portions from Hatcher's could come up with that.
So how to deduce using $f$ and $g$ that $X$ can't contain more that $1$ path component of $A$?
My other question here $H_0(X,A)=0$ iff $A$ intersects every path component of $X$. got closed. I think the following could work as a solution of that but I am not sure. Here, I used only definition of $H_0(X,A)$ and some intuition:
$H_0(X,A)=C_0(X,A)/\{\sigma(1)-\sigma(0): \sigma:[0,1]\to X, Im \sigma\not\subset A\}$
$=FAB\{\sigma: \Delta^0\to X, Im \sigma \not\subset A\}/\{\sigma(1)-\sigma(0): \sigma:[0,1]\to X, Im \sigma\not\subset A\}$
$=FAB\{\text{ path components of $X$ not intersecting $A$}\}$, here FAB means free Abelian group generated by.
The above working seems intuitive but I can't justify the last equality yet.
Thanks for your time.