Problem is, Obama left Trump an incredible economy. People that don't pay attention think Trump deserved credit for this.
Similarly, Biden was left a smoldering pile of ash from Trump. Inflation was real, and even if it could be blamed on covid, Biden was not a good messenger, so everybody just blamed him and Harris.
So maybe people saw this question and thought, do I prefer the economy of 2016-2020 or 2020-2024?
People are dumb. Another interesting one is "Who do you trust to handle crime?". Somehow the felon wins that one too.