Before the Battle of Lepanto Queen Elizabeth had her pirates raid Spain’s supply ships in the Mediterranean. Philp asked the Queen for help as they both where against the Islamic horde. I do not know why Elizabeth helped the Caliphate during the war.
The Tudors engaged with ambassadors from the Turks and a proposed alliance was, well, proposed.