A short call spread obligates you to sell the stock at strike price A if the option is assigned but gives you the right to buy stock at strike price B.
A short call spread is an alternative to the short call. In addition to selling a call with strike A, you’re buying the cheaper call with strike B to limit your risk if the stock goes up. But there’s a tradeoff — buying the call also reduces the net credit received when running the strategy.