The game often brings up and shows examples of programs struggling to believe in genuine relationships in the labs due to the system, but Vents in particular deals with strong trust issues because of it.
Vents felt betrayed by other programs who she thought were her friends, those programs themselves probably feeling pressured to pretend to care about her. It's implied that the final straw was an incident where they were left to die, judging by their damaged armor and the fact that she's officially considered dead.
So, she decided the only way for her to avoid more hurt at this point was to take her "death" as an opportunity to retreat into the vent system and isolate herself, their only company being the flowers they took care of. I imagine their flowers held similar meaning to her as the experiments did to FP: Animals don't expect anything from you, and flowers don't betray you.
At some point Vents was approached by Nick, initially meeting him with a baseline level of distrust, but eventually joining him out of desperation. As they say: The arrangement seemed perfect for them. They would get a proper space to stay at and grow their flowers, and work together with other programs. It's company without the need of trust or dishonesty.
Regardless of wether Vents initially knew that the exchange for this would be killing programs, she certainly has no illusions about it now. They know about the killings, they know about memory data being deleted to cover it up, and they know about Nick wanting to follow the scientists' footsteps.
And still, Vents considers this the lesser evil. Nick might be horrible, but so are many programs, and Vents too is willing to be horrible if it keeps them from getting hurt. At least he, unlike Tori, doesn't force them to deny their pain. They briefly consider just leaving but return to the secret lab after all, not because they fear for their safety, but just because she didn't want to leave her flowers behind.
I imagine it's very hard for Vents to no longer be in a situation where they're essentially constantly surviving and need to be selfish. She was willing to kill for what she considered a slightly better living situation and her security with the rest of the group largely relied on being stuck in their situation together. More specifically, her bond with Half leaned on the premise of them both being miserable, and during her battle she's even tempted to say that everyone is unreliable, including Off, before backpedaling. Presumably, she considered them leaving a betrayal, but she ultimately can't blame them.
Yet in the Exe DLC, we see her live with the rest of the team (sans Off, who prefers their own company). We see her get upset about "betraying [Sparks'] trust" after her initial bad reaction to their party, when in FsT she was notably wary of them potentially selling her out. She may no longer believe that friendships make for reliable connections, but she's clearly developed her own sense of loyalty that doesn't rely on survival.
I believe for how far we see Vents willing to go for her own benefit, she can be very caring towards other lifeforms. After all, one reason she's so attached to her flowers is that caring for something with so much dedication that you can see the results almost makes it feel like the flowers take care of her in return. And now, she has fellow programs and an experiment to extend that sentiment to.
I honestly think it's very fitting and sweet that Vents considers the rest of the team, in her own words, her allies. After escaping their shared situation, they still choose to stick with her because they survived that hardship together. What else does this make them, if not her allies?