It is genuinely hard to pin down, and the games have never stated it outright.
Tails is written primarily as Sonic's loyal friend and mechanic, and his relationships in the series are mostly platonic. Fan art and fan fiction pair him with a wide range of characters, which is probably where the question comes from, but none of it is supported by canon. If you want to see how the fandom interprets it, searching for Tails images will show you the range of takes far better than any summary can.