Undyne has an "inner Alphys" vibe inside her the same way Alphys has an "inner Undyne" vibe, so this makes perfect sense.Remember the part where Mettaton goads Alphys into trying to publicly smooch Undyne? That was sort of a role reversal with Alphys taking the assertive role and blushy Undyne showing a moment of demure sensitivity.