The key to understanding the difference is in the characters, the of can be seen in the phrase also, meaning "in advance" or "beforehand". While the of can be seen in the phrase , meaning "to stop something". In other words, doesn't mean to stop something, it means to do something in advance to _try_ to prevent it as you aware that it might happen, whereas just means to stop something from happening (prevent it) and doesn't include the "in advance" part.
So, to take your first two examples:
means to stop (prevent) forest fires, whereas implies doing something in advance to try to prevent fires from happening as you are aware that they might happen.