Humans have a tendency to anthropomorphize. Hope is a human-like AI. She knows exactly what the facehugger is, what it's doing, It doesn't matter, In the situation, she likes its company. She talks to it. She even cares for its survival as one might care for a rather exotic pet, ultimately sacrificing a human so the facehugger can spawn. The ethics and morality of all that is quite interesting. The more curious part of that is what the adult Alien would have done next. It raises a lot of questions about what the creature knows, how it knows it, what it thinks, and how it acts on that information. Knock Hope's head off is a possibility, but not the only possibility.
The biggest problem with the droids in the Alien series, at least from a human perspective, is that they mostly lack Asimov's 3 Rules of Robotics in their programming. Only Bishop and maybe Walter seem to possess them. I think Bishop's decision-making is most obviously influenced by them. Call is compassionate, but I think she arrived there more or less on her own.