The cake baker was willing to sell the couple premade cakes.
A wedding cake requires decorating and sometimes delivering/attending.
He refused them because of their sexual orientation, thus falling afoul of the state anti-discrimination laws. Until the courts rule definitively one way or the other on the Constitutionality of anti-discrimination laws we're going to continue to get cases like this.