Morocco recalled its ambassador to Berlin for consultations on Thursday in protest at what it described as Germany's "destructive attitude" towards Rabat's position on the Western Sahara issue.
It accused Germany of engaging in "antagonistic activism" after the United States in December recognized Moroccan sovereignty over the territory.
In a statement, it also repeated a previous complaint that Germany had not invited it to a 2020 Berlin conference on Libya.
Morocco also said on Thursday that Germany had disclosed sensitive information provided by Moroccan security services to a convicted militant.
It condemned German authorities’ “complicity” with regards to the case of Mohamed Hajib, a former terrorism convict who lives in Germany.
Hajib has been living in the European country since 2017 after he spent seven years in a Moroccan prison for terror charges.
Tensions initially emerged between Morocco and Germany after Berlin refused to extradite Hajib who has published a series of videos on YouTube attacking Moroccan officials.
“For all these reasons and due to this constant and unacceptable hostility, the Kingdom of Morocco has decided to recall the Ambassador for consultation,” the Moroccan ministry said in a statement.
Notably, this comes few months after a letter was leaked online from Moroccan Foreign Minister Nasser Bourita to the rest of the Moroccan government ordering officials to suspend “all contact, interaction and cooperation” with the German Embassy and embassy-related activities.