Political analysts in Morocco said tension between the two countries has been building since the Crown Prince Mohammed Bin Salman rose to power.
Morocco has suspended its participation in the Saudi Arabia-led military coalition in Yemen , government officials said.
Speaking on condition of anonymity as they were not authorized to speak publicly about the issue, two officials told the Associated Press Thursday that Rabat had also recalled its ambassador to the kingdom, saying the country would not take part in any military interventions or ministerial meetings with the coalition.
Morocco recalled its ambassador to Saudi Arabia for consultations, indicating apparent cracks in relations between the traditional Sunni Muslim allies over Yemen, Qatar and Western Sahara, Moroccan media said Friday.
Ambassador Mustapha Mansouri confirmed the recall to news website Le360, adding that Morocco and Saudi Arabia are bound by strong and longstanding ties that are currently undergoing a "transient crisis", Le360 reported.
There was no official confirmation from Morocco’s foreign ministry. Mansouri did not respond to a request for comment from Reuters and the Saudi embassy in Rabat declined to comment.
The recall is due to the airing by Saudi TV channel Al Arabiya of a documentary that diverged from the Moroccan position on the Western Sahara issue, the ambassador told Le360.
Saudi Arabia and other Gulf countries have traditionally supported Morocco's sovereignty over Western Sahara, a former Spanish colony that is also claimed by the Algerian-backed Polisario Front.
The Al Arabiya documentary comes after Qatari TV channel Al Jazeera last month aired an interview with Moroccan Foreign Minister Nasser Bourita who expressed concern over the humanitarian crisis in Yemen.
Morocco, a member of the Arab coalition in Yemen's war, no longer participates in military operations and did not attend the alliance's recent military maneuvers and ministerial meetings, the minister said.
Morocco "changed the form and content of its participation in the Arab coalition after an assessment of developments on the ground," he said.
Tension in Moroccan-Saudi relations has been silently brewing since the rise to power of Crown Prince Mohammed Bin Salman, the Gulf kingdom's de facto ruler, political analysts in Morocco say.
The Saudi crown prince was not received in Morocco last year while on a North African tour. Bourita, the foreign minister, said the visit did not take place due to what he described as a time conflict.
Morocco did not voice support for Saudi Arabia in the wake of the killing of journalist Jamal Khashoggi by Saudi agents at a Saudi consulate in Istanbul last year, an incident that damaged Riyadh's reputation internationally.