Through the final episodes of season 2 it is revealed that Charlotte Hale is a host containing a core of Dolores Abernathy.
At the beginning of season 3 it is revealed that Dolores has printed herself a new body that looks like the original Dolores Abernathy host and put her conciseness copy into Charlotte Hale host.
Throughout season 3 we see that Dolores and Charlotte have very close relationships where Dolores act as some sort of a mentor for Charlotte. It is also revealed that Dolores's intentions were not to kill humanity but actually give it another chance. By extension Charlotte should have the same motifs being a copy of Dolores.
Why did Charlotte turn against Dolores at the end of season 3 and then against whole humanity?