That's because most of the restaurants that sell Pepsi were owned by Pepsi. Regardless though it's all through exclusivity and contracts. You wouldn't be allowed to sell either without their permission and the only way to get it is by not using their competitor.