Why mosques minarets in Morocco are square and not round?

The premise of your question is not correct. While some minarets in Morocco may be square, many are also round, and the choice of shape is often influenced by architectural style, regional traditions, and the era of construction.
Copyright Wanderlust World © https://www.ynyoo.com