It plays as a comedy beat, and the simplest reading is that Tails is flustered because he has a crush on her. A sudden kiss from someone he clearly likes is exactly the sort of thing that would short-circuit a young, inexperienced character.
There is also the age gap and the sheer audacity of Rouge doing it mid-mission, both of which the scene is leaning on for laughs. It is a gag, not a plot development.