Because those are complicated, add weight and can break down in such a way that they impair the function of an otherwise perfectly good rover.
It WAS solved in the "faster, better, stronger" Curiosity rover. By using an RTG instead of solar panels. (And the Mars 2020 rover, ie Curiosity Mk2, will too)