why did rulers like hitler and Mussolini aid and support the nationalists fighting in the Spanish civil war

Answer:
Its the Second one !!
Explanation:
Nazi support for General Franco was motivated by several factors, including as a distraction from Hitler's central European strategy, and the creation of a Spanish state friendly to Germany to threaten France. It further provided an opportunity to train men and test equipment and tactics.