Because of:
Idempotence
$P+P=P$
, you can duplicate any terms.
So effectively, you can try and find any combination of terms to simplify.
That is, you got $AB$ by combining the first two terms $ABC$ and $AB\bar C$
This is actually an instance of:
Adjacency
$PQ+P\bar Q = P$
However, combining terms using Adjacency does not mean that those terms are now 'gone' and that you can't reuse them.
Indeed, we can also combine the first term $ABC$ with the third $A \bar B C$ into $AC$
And, the first can be combined with the last term to get $BC$
Once you understand this, you'll find that you can directly go from
$$ABC+AB\bar C +A\bar B C+\bar A BC$$
to
$$AB+BC+AC$$
in just one step using three instances of Adjacency