Supreme Court Justice Samuel Alito warned that a “wind is picking up that is hostile to those with traditional moral beliefs.”