Let $X$ be a topological space. Then, the cone $CX$ over $X$ is always contractible. Hence, $CX \simeq \{p\}$, and $$ H_n(CX) = \begin{cases} \mathbb{Z}, &\quad n = 0,\\ 0, &\quad n \neq 0. \end{cases} $$ On the other hand, $X \cong X \times \{0\} \subset CX$ embeds as a subspace, whence $H_n(X) \subset H_n(CX)$, and we may form the relative homology $H_n(CX, X)$. But this seems flawed as if $X = \{0,1\}$, then $CX \simeq [0,1]$, so, $H_0(X) = \mathbb{Z}^2 \not \subset H_0(CX) = \mathbb{Z}$. I am quite blind to see my error.
The context is: I am trying to understand why $H_n(X/A)$ cannot be isomorphic to $H_n(X,A)$ for all topological pairs $(X,A)$. (I know that this holds only true if $A$ is a deformation retract of $X$, and in the above case, $X$ is a retract of $CX$ if and only if $X$ is contractible. In particular, if $X$ is not contractible, it is not a deformation retract of $CX$.)
Edit: Perhaps I am wrong, assuming that $H_n(X)$ contains $H_n(A)$ as a subgroup...