According to Sonic Team, he has feelings for her but is too bashful to say so. That is the official line, and it is the answer filed here.
Amy Rose's affection for Sonic is overt and constant; his response is evasive rather than negative. He runs away, changes the subject, and generally treats the whole thing as an inconvenience — which in a long-running series reads as embarrassment far more than indifference.
Sonic's characterisation depends on freedom and never being tied down, so a settled romance would work against the premise. The writers keep the tension unresolved because it is useful: it gives Amy a role beyond pursuit and gives Sonic a recurring vulnerability that his speed cannot solve.
Different games and adaptations have handled it with varying degrees of warmth, so if you are asking about a specific title rather than the series generally, the tone can differ.