Sweep to form a thread

Sweep to form a thread does not give proper result. What is the reason for that?

SolidworksParts And Features