The squares are caused by errors in the geometry of the file. There are actually tiny holes inside the object and around these wholes the slicer builds walls, as usual.
If you change the Slicing Mode to “Close holes”, you can prevent that behavior.