Didn’t she gain votes in the swing states and mainly lost votes in states she won nevertheless?
That’s what they were aiming for. It didn’t work.
A California lawyer is not the candidate you want when you run to the right. Harris would have won the popular vote if she ran left, but she still would have lost the swing states, and thus the election.
If you want to win the swing states, you need to pick a Democrat from a swing state or a red state. Mark Kelly would have won with Harris’s campaign.