It really doesn't. It's not the behavior that's being targeted. It's the ideas behind it. Think it through:
It's not illegal to refuse to serve someone (or hire them, or whatever). It's illegal to refuse to serve them for prohibited reasons. The Christian baker, for example, could have easily avoided prosecution, and still refused to accommodate the gay wedding, by simply not offering a reason, or by offering another reason that isn't banned. It's the reason that is illegal (in particular, the expression of that reason), not the refusal to accommodate.
Wrong!! I have thought it through. The behavior is motivated by the beliefs, but they can choose to behave differently-in compliance with the law. Regardless of whether or not they provide the service or product, they still have their beliefs. No one can take that from them
The proof that they are not being penalized for their beliefs is the fact that they are free to express those beliefs in many different ways. They can preach them from a soap box in town square and they cant be touched.
As I and others have said many times, allowing people to discriminate based on their personal beliefs opens the door to the specter of everyone and anyone being able to discriminate against anyone else. You could be next.