Can a baker refuse to make a gay wedding cake?

COL
Can a baker fefuse to make a wedding cake for a marriage they don't believe in for example same gender couples because the first amendement protects them.