A morally compromised or outright villainous character earns their way back through meaningful, demonstrated change. BookTok will gaslight itself into rooting for anyone if the redemption arc is written well enough.
"I hated him in book one. I cried for him in book three. That's a redemption arc."