What was happening in Spanish Morocco during Operation Torch and the war in North Africa in general?

I know they occupied the Tangier International Zone, but that was supposedly out of fear of an Italian invasion. Why the apparent fear of invasion from a fellow Fascist power that had just helped the Franco regime come into power?