Amy Rose's crush on Sonic traces back to a single defining moment: Sonic saved her life. That act of heroism is what sparked her feelings for him.
From that point on, her affection became a central part of her character, driving much of her enthusiasm whenever Sonic is around. It is a simple origin, but one that has defined their dynamic ever since.