In WWII, the same people who were hiding in the mountains of Yugoslavia, Slovakia, Romania, Ukraine, etc were called terrorists by the Nazis. Today, they are known as partisans and are respected in these countries.

A partisan is a member of an irregular military force formed to oppose control of an area by a foreign power or by an army of occupation by some kind of insurgent activity. The term can apply to the field element of resistance movements, an example of which are the civilians that opposed Nazi German rule in several countries during World War II.

Why are these partisans/terrorists in Afghanistan, Pakistan, etc. often called terrorists and not partisans?