So why does Amy favor Sonic over Shadow? It really comes down to their relationship.
Amy adores Sonic because he always rushes to her rescue and saves her no matter the situation. She's what you might call a devoted, head-over-heels fan of his.
As for Shadow, it's not that she dislikes him. She sees him as a friend, even if some fans like to imagine things differently. So the short version: Amy's heart belongs to Sonic, while Shadow stays in the friend zone.