The cases are very different.  In the second case, the customer was trying to force the business person to write something on the cake that was inflammatory.  That took the matter into the "free-speech" category of the First Amendment.