This is really a massively oversimplified example, but here goes.
When you buy and option either call or put you pay the premium, which is basically the income the market maker receives.
But now they are left with a contractual obligation to the buyer, if they buy a call and the underlying...