This is an appearance on the stroke. You can change this in the Appearance section by selecting the wrench. Then change the Line join from Miter to Round
If you want to set the preference to something other than Miter, you can in Preferences > Graphics.