This is a common figurative use of the word. The etymology comes from the Greek meaning "upon/on people", so nothing in the root connects the meaning to how something develops or spreads.
Each pandemic is also epidemic. Pandemics are subset of epidemics. The word pandemic existing does not make the use of word epidemics incorrect.
Also, pandemic is not normally used in non medical context while epidemics is frequently used that way and was for years. The journalist probably decided to use the common words in their common meaning instead of going for obscure usages.