An Amazon spokesperson says “an error that was quickly fixed” caused Alexa to respond differently to the two prompts.
https://www.king5.com/mobile/article/news/verify/elections-verify/yes-amazon-alexa-gave-reasons-to-vote-for-harris-but-not-trump/536-f7c694a1-2a95-42df-8123-7af16106798d