How Is the Risk Taken by a Market Maker Compensated through the Spread?
Market makers face 'inventory risk,' the risk that the price of the asset they hold will move against them before they can offset their position. They also incur operational and technology costs.
The bid-offer spread is their primary source of revenue, acting as compensation for providing liquidity and taking on this risk. A wider spread compensates for higher perceived risk or lower competition.