Sonic regards Amy as a friend, though she has a huge—and, let's be honest, a little intense—crush on him that he tends to try to avoid.
There's also the age gap to consider: Amy is 12 and Sonic is 15, which makes a romance a bit awkward anyway. So while Amy is smitten, Sonic keeps things firmly in friendly territory.
It's a lighthearted dynamic that's been part of Sonic's world for a long time.