Basically, the yucca "palm" - which is actually not a palm tree - is a very easy-care and uncomplicated plant. Nevertheless, there are some care mistakes, as a result of which it reacts by snapping off either the trunk or the still green shoots. In most cases, the plant can be saved, for example by cutting off the parts that are still healthy and rooting them as cuttings.

Too much or too little water
If the shoots or even the trunk become soft, snap off and even look rotten, then most likely you have overwatered. Yuccas do not tolerate high humidity and react with wet rot, which always moves from bottom to top. Just cutting off the above-ground, rotten shoots will not do much. Instead, you'll need to pot the plants, although the roots may be beyond salvage at this stage. Cut off the parts of the plant that are still healthy and root them in a pot with potting soil or peat-free potting soil. If, on the other hand, the shoots just snap off without any signs of rot being noticeable, then you haven't watered enough.
Too little light - weak growth
Too little light leads to weak growth of the yucca and, as a result, to the trunk not being able to support the heavy leaf crown and therefore buckling. Always place the yucca in front of a window, but not in direct sunlight. If the window sill is too narrow for a larger plant, you should place it on a table or similar in front of it. In summer, the yucca also feels very comfortable on the balcony.
Lack of supply of nutrients
If the yucca is not fertilized enough or repotted too seldom or not at all in fresh substrate, the lack of nutrients also leads to soft, weak shoots and thus to a kinking of the plant. Fertilize the yucca regularly with a liquid green plant fertilizer and repot it in fresh substrate about every two to three years.
tips
Plant parts of the yucca that have broken off or snapped off as a result of an accident can be easily rooted by placing the pieces in a pot with potting soil or a mixture of peat-free potting soil and some sand and keeping them slightly moist.