Original: The reason for the huge variety of shapes is not fully understood, but may be caused by gravitational interactions with companion stars if the central stars are double stars.
Simplified: The reason for all of these shapes is not understood, but it may be because of gravity with secondary stars if it is a binary star system.