I don’t think that liberalism necessitates thinking markets in the real world or people are fully rational. Competitive markets work better than alternatives for private goods, but otherwise capitalism and elite decision-makers under it are irrational and inefficient. This is why changing things is possible at all.
https://wedontagree.net/collective-action-problems-are-not-a-capitalist-plot