If your deeply held religious beliefs stop you from baking a cake for a gay couple, change your beliefs. If your beliefs were of any value, they wouldn't be preventing you from doing acts of kindness for other human beings.
Religion only has one product to sell, which is exclusivity, an access to god/wisdom/salvation, which others can not have, otherwise it would just be deism, which never made a cent for anyone. And if there is an in-group, then there has to be an out-group, and if you really want to sell the product strongly, then strong divisions are needed. ( "Your religion comes with a side serving of hate and loathing at no extra cost, thank you for your custom." )