Halting Problem
It is undecidable to write an algorithm to decide whether a program halts.
How is it that we're proving program termination?
The halting problem is about automation. It says no algorithm can automatically decide, for every program, whether it halts. If you lose automation, you can prove some programs halt by hand, usually by finding a decreasing measure.
See: Program Termination