Flatten Issue

What is the reason flatten state comes like this?

SolidworksSheet Metal