These feelings were just a bug. A bug Alphys couldn't figure out. That's all that Mettaton knew, because after all, he was a robot and you were a human. He ran on batteries, and you ran on food. He had variables and you had hormones. The difference between the two of you could not have been larger.