Two moments involving Amy Rose and Shadow the Hedgehog in Sonic Adventure 2 get misread constantly, and both actually have straightforward explanations.
Amy throws her arms around Shadow because she thinks he is Sonic. From her perspective, a blue hedgehog is standing in front of her, and she reacts accordingly. Shadow, being Shadow, does not reciprocate in the slightest. The joke works precisely because the two characters could not be more different in temperament.
The one time Shadow genuinely engages with Amy, it is because she inadvertently pushes him toward the promise he made to Maria Robotnik, the person whose memory drives nearly everything he does. That promise is the emotional core of his arc, and anything that touches it gets a reaction out of him.
So neither scene is romance, despite how it looks on the surface. One is a mix-up played for comedy, and the other is a reminder of the vow that defines Shadow's motivation throughout the game.