In stroke menu, butt cap is selected and does not work. Stroke is displayed with rounded cap instead.
1
vote
Lisa P
shared this idea
The stroke has a brush applied to it, which can also define cap.
Check it in the Appearance or Brushes panels. You can remove it from both of these panels, or Control, or Properties.