Turns out if you watched Multiverse of Madness, and something about the Scarlet Witch’s story bothered you, it may not be in your head. Apparently, even Elizabeth Olsen knew something was different with this particular storyline for her fan-favorite character. And, as it turns out, there’s a reason for it. The actor admitted that the Doctor Strange in the Multiverse of Madness writers weren't aware of the finer details within WandaVision, which is why we got that evil Scarlet Witch story.
In the movie, Wanda Maximoff embarks upon a destructive path through the multiverse in an attempt to get back her children, given they faded away with the Hex at the end of WandaVision. However, at the end of the movie, she makes the ultimate sacrifice. Again. As for how much the writers knew about the parallels between the script and the show, Maximoff said this to No Script Needed: