Because she lost to Arachne in a weaving competition. Other versions of this myth state that Arachne shamed the Gods in this competition and this angered the Goddess.