This happens when the fondant dries out. It is best to work quickly and place the fondant on the cake directly after rolling it out so you can mold it before it gets too dry.