The popular members of the conservative party were not on the ballot during Truss's election. Conservative party leadership effectively chose her, not the people.
This is squarely on the Blair/Bush party of big government and tax cuts, which is a deeply unpopular position in reality.
turns out we don't have that many smart people in the UK