They're voting because of the economy and inflation. It's hard to get the average person to care about much when they can't afford groceries. The Democrats have done a terrible job touting any kind of accomplishments and while they have made moves to reduce inflation, they don't really kick in until next year.
Republicans had answers and while those answers are likely not feasible, they're still answers and it is what the struggling person wants to hear. They also saw that their life was better under Trump since prices were low and they could afford things and when Biden got elected everything went up in price. While the president has little bearing on that and there are a million and one reasons why inflation is happening, the average person won't understand this. Hell, I don't even understand all the reasons for inflation and I've actively researched it.
I don't think you can really fault Americans for voting the way they do because they hope things will change. At the end of the day, most Americans just want to live their lives, provide for their family, and not worry about whether or not they can afford rent, groceries, or fuel.
Should people research candidates more? Absolutely, but I would wager a majority of people don't have time or don't care too. You're not going to stop it either unless you restrict who can and cannot vote, which would be worse.