An algorithm is just a set process to calculate something.
Once there is something new to calculate - a new algorithm will usually be born.
Usually new things that need to be calculated require new calculation steps. These steps chained together into a process is an algorithm.
After achieving a first working version, optimizations are usually put into place. for example chaining previously written algorithms.
Hope this helps.