You lost because Harris decided that campaigning with vehemently offensive bigots like Liz Cheney who spent years demonizing 2SLGBTQ+ and progressives was some kind of winning strategy. 

She ran as a Republican with some of the most offensive Republicans. Cheney voted with Trump 97% of the time