Ancient history

Why did the spanish Jews welcome Muslin invasions?

The premise in your question is not accurate. It is not a historical fact that the Spanish Jews in general welcomed the Muslim invasions. While there were undoubtedly instances where Jews initially found some advantages under certain Muslim rulers, the attitude of the Jewish communities towards Muslim rule varied over time and across regions.