Algeria has closed its airspace to Emirati aircraft and severed diplomatic relations with the UAE, citing hostile acts.