On most awnings, the fabric has a cord sewn into the end of it. This cord slides into a channel to hold the awning in place. This is done at install by starting at one end and sliding it all the way along the channel.
Looks like something has happened to the cord or the channel has opened up an is allowing the fabric to come free.